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

Gautam Batra gautambatra24 at gmail.com
Tue Dec 20 22:40:12 CET 2011


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 <oej at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111220/b3bbaaa5/attachment.htm>


More information about the sr-users mailing list