[OpenSIPS-Users] RTP Proxy problem

Răzvan Crainea razvan at opensips.org
Fri Nov 30 20:30:07 CET 2012


Hi, Wesley!

Have you tried tracing the communication opensips has with rtpproxy 
(listen with ngrep on port 7890). Are you sure rtpproxy is bound on the 
correct IP and port (check with netstat -ulpn | grep rtpproxy). Have you 
tried enabling rtpproxy debugging to see if something reaches the server 
(start rtpproxy with -d DBUG).

Regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 11/30/2012 08:06 PM, Wesley Volcov wrote:
> Dear all,
>
> I've tried to downgrade the opensips version, and use the nathelper 
> module, but I still see the error.
>
> RTPPROXY run command: /usr/local/bin/rtpproxy -l public_ip -s 
> udp:127.0.0.1 7890 -F -m 10000 -M 20000
>
> Opensips configuration: modparam("nathelper", "rtpproxy_sock", 
> "udp:127.0.0.1:7890 <http://127.0.0.1:7890>")
>
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10695]: 
> ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10699]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10707]: 
> ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10679]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10682]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10678]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10684]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10686]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10687]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10690]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
> Nov 30 17:05:25 localhost /usr/local/sbin/opensips[10691]: 
> ERROR:nathelper:send_rtpp_command: proxy <udp:127.0.0.1:7890 
> <http://127.0.0.1:7890>> does not respond, disable it
>
> Am I missing some thing?
>
> Please, helpe me.
>
> Regards,
>
> Wesley Volcov
>
> On 29 November 2012 08:28, Wesley Volcov <wesleyvolcov at gmail.com 
> <mailto:wesleyvolcov at gmail.com>> wrote:
>
>     Dear Răzvan,
>     *
>     *
>     Thanks you for helping me!
>
>     I changed the modparam to: modparam("rtpproxy", "rtpproxy_sock",
>     "udp:127.0.0.1:7890 <http://127.0.0.1:7890>")
>
>     And the rtpproxy run command: /usr/local/bin/rtpproxy -lpublic_ip
>     -s udp:127.0.0.1 7890 <tel:127.0.0.1%207890> -F -m 10000 -M 20000
>
>     And I still see this:
>
>     Nov 29 08:25:42 opensips /usr/local/sbin/opensips[5996]:
>     WARNING:rtpproxy:rtpp_test: support for RTP proxy
>     <udp:127.0.0.1:7890 <http://127.0.0.1:7890>> has been disabled
>     temporarily
>     Nov 29 08:25:42 opensips /usr/local/sbin/opensips[5994]:
>     WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
>
>     Any idea?
>
>     Regards,
>
>     Wesley Volcov
>
>     On 28 November 2012 16:02, Răzvan Crainea <razvan at opensips.org
>     <mailto:razvan at opensips.org>> wrote:
>
>         Hi, Wesley!
>
>         The idea is that RTPProxy is listening only on localhost,
>         whereas OpenSIPS tries to connect to a different IP (rather
>         than 127.0.0.1). You should either allow RTPProxy to listen on
>         that IP (change the -s parameter, but this is not recommended
>         because of security issues) or configure OpenSIPS to connect
>         using 127.0.0.1.
>         Are you using the DB to provision the RTPProxy sockets?
>         Because if you do, there is no need of the "rtpproxy_sock"
>         modparam, you should change the IP directly in the database.
>
>         Regards,
>
>         Razvan Crainea
>         OpenSIPS Core Developer
>         http://www.opensips-solutions.com
>
>         On 11/28/2012 05:53 PM, Wesley Volcov wrote:
>>         Dear Răzvan,
>>         *
>>         *
>>         I tried to change the modparam configuration, to the
>>         ip_addres, and also the rtpproxy listen addres to localhost,
>>         and it still the same problem.
>>
>>         Regards,
>>
>>         Wesley Volcov
>>
>>         On 28 November 2012 12:31, Răzvan Crainea
>>         <razvan at opensips.org <mailto:razvan at opensips.org>> wrote:
>>
>>             Hi, Wesley!
>>
>>             I see that your modparam contains the "localhost" ip,
>>             however, the OpenSIPS warning contains the "ip_address".
>>             Is this "ip_address" "127.0.0.1"? Because if it is not,
>>             then it means that the rtpproxy_sock is set to a
>>             different value - either by overwriting the parameter, or
>>             by using the DB provisioning mode. Most likely it doesn't
>>             work because OpenSIPS is trying to connect to rtpproxy on
>>             a public IP, whereas RTPProxy only listens on localhost.
>>
>>             Regards,
>>
>>             Razvan Crainea
>>             OpenSIPS Core Developer
>>             http://www.opensips-solutions.com
>>
>>             On 11/28/2012 02:25 PM, Wesley Volcov wrote:
>>>             Dear all,
>>>
>>>             I'm having problems with my Opensips + RTP Proxy
>>>             instalation.
>>>
>>>             Opensips version: 1.7.2-notls
>>>             RTP Proxy version: 1.2.1
>>>
>>>             Start RTP Proxy command: /usr/local/bin/rtpproxy -l
>>>             ip_address -s udp:127.0.0.1 7890 <tel:127.0.0.1%207890>
>>>             -F -m 10000 -M 20000
>>>
>>>             Opensips configuration for RTP Proxy:
>>>             modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7890")
>>>
>>>             When I start the Opensips service, it logs this message:
>>>
>>>             Nov 28 10:56:10 opensips /usr/local/sbin/opensips[2687]:
>>>             WARNING:rtpproxy:rtpp_test: can't get version of the RTP
>>>             proxy
>>>             Nov 28 10:56:10 opensips /usr/local/sbin/opensips[2687]:
>>>             WARNING:rtpproxy:rtpp_test: support for RTP proxy
>>>             <udp:ip_address:7890> has been disabled temporarily
>>>
>>>             What could it be? Please, help me!
>>>
>>>             Regards
>>>             -- 
>>>             Wesley Volcov
>>>             Email: wesleyvolcov at gmail.com
>>>             <mailto:wesleyvolcov at gmail.com>
>>>             Messenger: volcov at live.com <mailto:volcov at live.com>
>>>             Skype: wesley.volcov
>>>             Mobile: +55 11 7999-7444 <tel:%2B55%2011%207999-7444>
>>>             Website: http://volcov.blogspot.com
>>>
>>>
>>>             _______________________________________________
>>>             Users mailing list
>>>             Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>             _______________________________________________
>>             Users mailing list
>>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>         -- 
>>         Wesley Volcov
>>         Email: wesleyvolcov at gmail.com <mailto:wesleyvolcov at gmail.com>
>>         Messenger: volcov at live.com <mailto:volcov at live.com>
>>         Skype: wesley.volcov
>>         Mobile: +55 11 7999-7444 <tel:%2B55%2011%207999-7444>
>>         Website: http://volcov.blogspot.com
>>
>>
>>         _______________________________________________
>>         Users mailing list
>>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>     -- 
>     Wesley Volcov
>     Email: wesleyvolcov at gmail.com <mailto:wesleyvolcov at gmail.com>
>     Messenger: volcov at live.com <mailto:volcov at live.com>
>     Skype: wesley.volcov
>     Mobile: +55 11 7999-7444 <tel:%2B55%2011%207999-7444>
>     Website: http://volcov.blogspot.com
>
>
>
>
> -- 
> Wesley Volcov
> Email: wesleyvolcov at gmail.com <mailto:wesleyvolcov at gmail.com>
> Messenger: volcov at live.com <mailto:volcov at live.com>
> Skype: wesley.volcov
> Mobile: +55 11 7999-7444
> Website: http://volcov.blogspot.com
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121130/e49ca37f/attachment-0001.htm>


More information about the Users mailing list