Hi, Thanks for your replies. Is it possible to play an audio file in the case of a re-invite directly from kamailio instead of freeswitch by using rtpproxy_stream2uac() or something similar?
Gautam On Mon, Dec 12, 2011 at 4:50 AM, Olle E. Johansson <o...@edvina.net> wrote: > > 12 dec 2011 kl. 10:45 skrev Daniel-Constantin Mierla: > > > Hello, > > > > On 12/9/11 9:04 PM, Gautam Batra wrote: > >> Hello, > >> > >> I have a kamailio sip proxy server with freeswitch acting as SBC. I > want to redirect the call to freeswitch when hold is pressed so that i can > play music on hold. I tried this by using rewritehostport in case of a > re-invite, but the call drops in that case. Could someone please help me > with this? > > it is not possible to redirect established calls (it breaks the > RFC3261), you have to route the call through freeswitch from its start. > Perhaps you can use freeswitch without relaying the media in first place > and when you have on hold, you set media patch to go through freeswitch. > The only solution is having FreeSwitch send an invite with replaces to > grab the call. The question is how to get it back. > > /O > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users