Iñaki Baz Castillo wrote:
El Miércoles, 24 de Octubre de 2007, Iñaki Baz Castillo escribió:
Hi, after upgrading to OpenSer SVN trunk the conexion with RtpProxy (0.3-2
in Debian Sid) gives an error:

ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy
ERROR:nathelper:send_rtpp_command: proxy <udp:localhost:22222> does not
respond, disable it
WARNING:nathelper:rtpp_test: can't get version of the RTP proxy
WARNING:nathelper:rtpp_test: support for RTP proxy <udp:localhost:22222>
has been disabled temporarily

Do I need a latest version of RtpProxy? which version exactly?

In fact I don't see newer versions of RtpProxy.

I know that the error above is the same as if I set a wrong port or IP, but it's not my case. My conf worked fine before upgrading OpenSer.


~# openserctl fifo nh_show_rtpp
200 OK
udp:localhost:22222::  set=0
        disabled:: 0
        weight:: 1
        recheck_ticks:: 60



This is my conf:

- Openser SVN trunk (from today)
modparam("nathelper", "received_avp", "$avp(i:42)")
modparam("nathelper", "sipping_method", "OPTIONS")
modparam("nathelper", "natping_interval", 20)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "sipping_bflag", 7)
modparam("nathelper", "sipping_from", "sip:[EMAIL PROTECTED]")
modparam("nathelper", "rtpproxy_sock", "udp:localhost:22222")


RtpProxy runs as:

~# rtpproxy -f -l 0.0.0.0 -s udp:127.0.0.1:22222



I restart OpenSer and get:

  ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy
  ERROR:nathelper:send_rtpp_command: proxy <udp:localhost:22222> does not
    respond, disable it
  WARNING:nathelper:rtpp_test: can't get version of the RTP proxy
  WARNING:nathelper:rtpp_test: support for RTP proxy <udp:localhost:22222>
    has been disabled temporarily


ngrep in port 22222 says:

~# ngrep -d any -P ' ' -W byline -T -t "$*" port 22222
interface: any
filter: (ip or ip6) and ( port 22222 )

#
U 2007/10/24 14:34:10.557619 127.0.0.1:53545 -> 127.0.0.1:22222
5851_0 V
#
U 2007/10/24 14:34:10.557962 127.0.0.1:22222 -> 127.0.0.1:53545
5851_0 20040107

#
U 2007/10/24 14:34:10.558152 127.0.0.1:53545 -> 127.0.0.1:22222
5851_1 VF 20050322
#
U 2007/10/24 14:34:10.558186 127.0.0.1:22222 -> 127.0.0.1:53545
5851_1 1

#
U 2007/10/24 14:34:10.560929 127.0.0.1:53546 -> 127.0.0.1:22222
5852_0 V
#
U 2007/10/24 14:34:10.562735 127.0.0.1:53547 -> 127.0.0.1:22222
5853_0 V
#
U 2007/10/24 14:34:10.564556 127.0.0.1:53548 -> 127.0.0.1:22222
5854_0 V
...



Any help please? I don't see any new mandatory parameter or similar in module doc, what can be wrong if it worked with OpenSer 1.2.2?

Thanks for any help.


Change from 127.0.0.1 to the real IP address of your sip server, change the openser.cfg accordingly and reload it.... it should work....

_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to