[OpenSIPS-Users] ERROR:rtpproxy
Razvan Crainea
razvan at opensips.org
Thu Apr 19 10:37:43 CEST 2012
Hello!
The log you provided with debug 5 isn't complete, it doesn't contain the
response received by OpenSIPS from RTPProxy. You should check RTPProxy's
logs in order to see why it sends a command answer with port 0.
Regards,
--
Răzvan Crainea
OpenSIPS Developer
http://www.opensips-solutions.com
On 04/18/2012 07:11 PM, goup2010 wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list