[OpenSIPS-Users] OpenSIPS with Rtpproxy

Razvan Crainea razvancrainea at opensips.org
Fri May 27 09:49:10 CEST 2011


Hello Spencer,

Your configuration seems to be right. Have you checked for errors in 
RTPProxy log? Also please try to use a different control socket. This 
one (udp:127.0.0.1:7890) might already be bound by a different application.

Regards,
Razvan

On 05/26/2011 09:44 PM, Spencer Thomason wrote:
> Hello all,
> I'm trying to integrate rtpproxy with opensips and I can't seem to get rtpproxy to listen on any interfaces.  If someone could point me in the right direction I would greatly appreciate it :-)
>
> I've provided some pertinent info below.  Please let me know if there is anything else that might prevent this from working.  BTW This is built from the recommended git snapshot and timeout patch.
>
>
> # ps aux | grep rtpproxy
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> rtpproxy 27957  0.0  0.0  21880   732 ?        Ssl  11:23   0:00 /usr/bin/rtpproxy -p /var/run/rtpproxy.pid -u rtpproxy -l 97.67.110.249 –s udp:127.0.0.1:7890
>
> # netstat -an | grep 127.0.0.1:7890
> udp        0      0 127.0.0.1:52287             127.0.0.1:7890              ESTABLISHED
> udp        0      0 127.0.0.1:53012             127.0.0.1:7890              ESTABLISHED
> udp        0      0 127.0.0.1:56598             127.0.0.1:7890              ESTABLISHED
> udp        0      0 127.0.0.1:56773             127.0.0.1:7890              ESTABLISHED
> udp        0      0 127.0.0.1:60660             127.0.0.1:7890              ESTABLISHED
> udp        0      0 127.0.0.1:37514             127.0.0.1:7890              ESTABLISHED
> /* Note no LISTEN */
>
> # grep nathelper opensips.cfg
> loadmodule "nathelper.so"
> # ----- nathelper params -----
> modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7890")
> modparam("nathelper", "natping_interval", 30)
> modparam("nathelper", "ping_nated_only", 0)
> modparam("nathelper", "sipping_bflag", 7)
> modparam("nathelper", "sipping_from", "sip:pinger at X.X.X.X")
>
> # uname -a
> Linux hostname 2.6.18-238.9.1.el5.5nine.028stab089.1 #1 SMP Mon May 16 20:04:01 PDT 2011 x86_64 x86_64 x86_64 GNU/Linux
>
> /*And as expected...  the syslog entry*/
> /usr/sbin/opensips[27927]: ERROR:nathelper:send_rtpp_command: proxy<udp:127.0.0.1:7890>  does not respond, disable it
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
Razvan Crainea
OpenSIPS Developer




More information about the Users mailing list