Hello Nick,

I will need some debugging information such as the received commands. Can you please start RTPProxy with debug logging level (parameter "-d DBUG") and paste me the line starting with
"DBUG:handle_command: received command ... ".

Regards,
Razvan

On 04/25/2011 10:42 AM, [email protected] wrote:
Dear All!

OS: CentOS 5.6 x86_64
OpenSIPS: trunk 7904 revision
RTP Rroxy: latest from git

I have strange errors and garbage in RTP Proxy when parsing information coming from OpenSIPS and calling from [email protected] to [email protected] through OpenSIPS+RTP Rroxy. RTP Rroxy are on different server then OpenSIPS and they connect each other through LAN and WAN. On LAN they exchange technical information (RTP sock, RTP timeout notify socket) and through WAN they exchange information (SIP & RTP) with SIP clients (UAC & UAS).

Both phones (1000 & 2000) are on the same LAN and go through same NAT router with IP x.x.x.x to OpenSIPS WAN IP.
Simple schema is:
2000 --> NAT Router --> OpenSIPS --> NAT Router --> 1000

I have following errors in RTP Rroxy :
Apr 25 11:00:11 rtpproxy[5181]: ERR:handle_command: command syntax error
Apr 25 11:00:34 rtpproxy[5181]: ERR:handle_command: invalid remote address: x.x.x.x70045415: No address associated with hostname

Where x.x.x.x is IP of NAT router, and 70045415 some garbage or ports?

In OpenSIPS I have error:
Apr 25 11:00:34 /usr/sbin/opensips[5634]: [REPR02] -----> Reply route 'base-nat-reply' - M=INVITE RURI=<null> F=sip:[email protected] T=sip:[email protected] IP=81.88.83.130 [email protected] Apr 25 11:00:34 /usr/sbin/opensips[5634]: [REPR02] NAT-Reply - S=200 D=OK F=sip:[email protected] T=sip:[email protected] IP=x.x.x.x [email protected] Apr 25 11:00:34 /usr/sbin/opensips[5634]: [REPR02] rtpproxy_answer() - M=INVITE RURI=<null> F=sip:[email protected] T=sip:[email protected] IP=x.x.x.x [email protected] Apr 25 11:00:34 /usr/sbin/opensips[5634]: ERROR:rtpproxy:force_rtp_proxy_body: incorrect port 0 in reply from rtp proxy

RTP Proxy running with the following parameters:
rtpproxy -F -l <WAN IP> -s udp:<RTP Proxy LAN IP>:22222 -n tcp:<OpenSIPS LAN IP>:9001 -d DBUG

OpenSIPS configuration:
########################################################################
loadmodule "rtpproxy.so"
########################################################################
modparam("rtpproxy", "rtpproxy_sock", "udp:<RTP Proxy LAN IP>:22222")
modparam("rtpproxy", "rtpproxy_disable_tout", 1)
modparam("rtpproxy", "rtpproxy_timeout", "1")
modparam("rtpproxy", "rtpproxy_autobridge", 1)
modparam("rtpproxy", "rtpproxy_retr", 10)
modparam("rtpproxy", "rtpp_notify_socket", "tcp:<OpenSIPS LAN IP>:9001")

Thanks in advance!


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to