Hello,

I try to run RTPProxy on a different machine than Kamailio (Kamailio IP is 10.25.1.5 without NAT) for rtp recording.

Remote machine has an IP Address of 10.25.1.1 and started with

 /usr/local/bin/rtpproxy -l 10.25.1.1 -s udp:*:7722  -F –P –r/log/rtp_trace

In Kamailio configuration file:

modparam(“rtpproxy”, “rtpproxy_sock”, “udp:10.25.1.1:7722”)

And then, we receive an error after Kamailio start:

/usr/local/sbin/kamailio[24510]: ERROR: rtpproxy [rtpproxy.c:1527]: timeout waiting reply from a RTP proxy

/usr/local/sbin/kamailio[24510]: ERROR: rtpproxy [rtpproxy.c:1536]: proxy <udp:10.25.153.149:7722> does not respond, disable it

/usr/local/sbin/kamailio[24510]: WARNING: rtpproxy [rtpproxy.c:1404]: RTP proxy went down during version query

/usr/local/sbin/kamailio[24510]: WARNING: rtpproxy [rtpproxy.c:1430]: support for RTP proxy <udp:10.25.153.149:7722> has been disabled temporarily

 

In netstat  -a:

udp        0      0 KAMnet-JAF-TST-01:53522     vm-kamnet-dev01.bgtehi:7722 ESTABLISHED

udp        0      0 KAMnet-JAF-TST-01:36633     vm-kamnet-dev01.bgtehi:7722 ESTABLISHED

udp        0      0 KAMnet-JAF-TST-01:32925     vm-kamnet-dev01.bgtehi:7722 ESTABLISHED

 

It works, when Kamailio & RTPproxy are configured in the same machine, with  

modparam(“rtpproxy”, “rtpproxy_sock”, “udp:localhost:7722”),

Is there something wrong in configuration of remote mode?

Thanks for any help,

Julia