[OpenSER-Devel] Can't connect with RtpProxy since 1.3.X

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Oct 30 09:40:07 UTC 2007


Hi,

I just tested with the current trunk version of openser and rtpproxy and 
it worked perfectly. Are you sure the error is not related to something 
specific to your machine? have you tried on other machine?

regards,
Bogdan

Iñaki Baz Castillo wrote:
> Hi, since I upgraded to SVN (now I have 2994) OpenSer fails when contacting 
> RtpProxy (it worked well with OpenSer 1.2.X and same conf).
> RtpProxy version is 0.3-2 of Debian Sid.
>
>
>
> This is my related conf:
>
>   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:openser at openser.domain.org")
>   modparam("nathelper", "rtpproxy_sock", "udp:localhost:22222")
>
>
> RtpProxy runs as:
>
>   ~# rtpproxy -f -l 0.0.0.0 -s udp:127.0.0.1:22222
>
> (in foreground mode in order to debug but I've tryed too to run in background, 
> in different machines, etc).
>
>
>
> 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
>
>
>
>
> RtpProxy says (it receives connection from OpenSer!!):
>
>   received command "1886_0 V"
>   sending reply "1886_0 20040107
>   "
>   received command "1886_1 VF 20050322"
>   sending reply "1886_1 1
>   "
>   received command "1887_0 V"
>   sending reply "1887_0 20040107
>   "
>   received command "1888_0 V"
>   sending reply "1888_0 20040107
>
>
>
> 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
>   ...
>
>
>
>
> I've tryed everything and can't get it working. I've read the devel doc for 
> nathelper module and see no notable changes.
>
> Please, can anyone confirm he has OpenSer 1.3 working with RtpProxy?
> Could it be a bug?
>
>
> Best regards.
>
>
>
>   




More information about the Devel mailing list