[OpenSIPS-Users] ERROR:rtpproxy

goup2010 goup2010 at gmail.com
Wed Apr 18 18:11:13 CEST 2012


Hello all,

I use opensips 1_8 svnrevision: 2:8890M.

When set debug=3 I see follow error:

Apr 18 18:56:33  /usr/local/sbin/opensips[3968]: Incoming call
conected. Call from NAT. Force RTP proxy.
Apr 18 18:56:33  /usr/local/sbin/opensips[3968]:
ERROR:rtpproxy:force_rtp_proxy_body: incorrect port 0 in reply from
rtp proxy

When set debug=5 I see core without error:

Apr 18 18:40:35 /usr/local/sbin/opensips[3907]: Incoming call
conected. Call from NAT. Force RTP proxy.
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:core:parse_headers: flags=ffffffffffffffff
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:core:get_hdr_field: content_length=278
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:core:get_hdr_field: found end of header
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:core:decode_mime_type: Decoding MIME type for:[application/sdp]
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:rtpproxy:force_rtp_proxy: force rtp proxy with param1 <(null)> and
param2 <none>
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:core:parse_headers: flags=40
Apr 18 18:40:35  /usr/local/sbin/opensips[3907]:
DBG:rtpproxy:force_rtp_proxy: Forcing body:#012[v=0#015#012o=root
1970869766 1970869766 IN IP4 88.99.11.22#015#012s=ITG SBC#015#012c=IN
IP4 88.99.11.22#015#012t=0 0#015#012m=audio 11262 RTP/AVP 8 0
101#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0
PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101
0-16#015#012a=silenceSupp:off - - -
-#015#012a=ptime:20#015#012a=sendrecv#015#012]
Apr 18 18:40:35  /usr/local/sbin/opensips[3903]: DBG:core:buf_init:
initializing...

This is part of opensips config:

onreply_route[incoming] {
.....
	if ( isbflagset(6) && status=~"(183)|(2[0-9][0-9])"){
		xlog("L_ERR","Incoming call conected. Call from NAT. Force RTP proxy. \n");
		rtpproxy_answer();
	} else if (nat_uac_test("1")) {
		fix_nated_contact();
	};
	exit;
} # end

Where is problem?

Best regards,
PlayMen



More information about the Users mailing list