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

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 12 10:45:00 CET 2011


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.
Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list