[SR-Users] Music on hold with freeswitch as SBC

Olle E. Johansson oej at edvina.net
Mon Dec 12 10:50:40 CET 2011


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




More information about the sr-users mailing list