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

2011-12-22 Thread Gautam Batra
Thanks Daniel, I wasn't starting rtpproxy properly. So the initial error is gone. But in my script when the rtpproxy_stream2uac is called i get the following log: Dec 22 08:18:44 vps daemon.err /usr/sbin/kamailio[7901]: ERROR: rtpproxy [rtpproxy.c:1581]: script error -no valid set selected Dec 22

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

2011-12-22 Thread Daniel-Constantin Mierla
Can you give the output of: ps auxw | grep -i rtpproxy That will show if rtpproxy is running and what is its control socket. Cheers, Daniel On 12/21/11 11:25 PM, Gautam Batra wrote: I'm not able to set up the rtp proxy module. I have entered the following: loadmodule "rtpproxy.so" modparam (

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

2011-12-21 Thread Gautam Batra
I'm not able to set up the rtp proxy module. I have entered the following: loadmodule "rtpproxy.so" modparam ("rtpproxy", "rtpproxy_sock", "udp:X.Y.Z.W:2"); Where X.Y.Z.W is the IP address of my machine (same as that of my SIP server). But the log shows the following errors: Dec 21 13:11:12

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

2011-12-21 Thread Gautam Batra
I am using Freeswitch as an SBC behind Kamailio, and my external calls are routed via freeswitch. In those calls the music on hold works as it is handled by freeswitch. Ideally I would like to somehow redirect when a call is put on hold to the MOH extension. The other option is by using rtpproxy. I

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

2011-12-21 Thread Daniel-Constantin Mierla
Hello, On 12/21/11 7:49 AM, Olle E. Johansson wrote: 20 dec 2011 kl. 22:40 skrev Gautam Batra: 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? Kama

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

2011-12-20 Thread Olle E. Johansson
20 dec 2011 kl. 22:40 skrev Gautam Batra: > 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? Kamailioi is still a proxy and from the endpoint p

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

2011-12-20 Thread Gautam Batra
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 wrote: > > 12 dec 2011 kl. 10:45 skrev Daniel

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

2011-12-12 Thread Olle E. Johansson
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

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

2011-12-12 Thread 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

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

2011-12-09 Thread Gautam Batra
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