[OpenSIPS-Users] ERROR:rtpproxy

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Apr 10 13:28:30 CEST 2012


Hi,

most probably you are using a RTP related function for a SIP message 
which has no body (SDP).

Regards,
Bogdan

On 04/10/2012 01:03 PM, goup2010 wrote:
> Hello,
>
> I receive follow error:
> "ERROR:rtpproxy:force_rtp_proxy: Unable to parse body".
>
> Config file:
> opensips_1_8/examples/nathelper.cfg
>
> svnrevision: 2:8922M
>
> hare is log:
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: SUBSCRIBE from
> 11.22.33.44:1024
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:check_ip_address: params 11.22.33.44, 192.168.1.100, 0
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: Nated test - OK
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:parse_headers: flags=ffffffffffffffff
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: DBG:core:parse_to:
> end of header reached, state=10
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: DBG:core:parse_to:
> display={"555999"}, ruri={sip:555999 at 100.101.102.103;transport=UDP}
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:get_hdr_field:<To>  [48];
> uri=[sip:555999 at 100.101.102.103;transport=UDP]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:get_hdr_field: to body
> ["555999"<sip:555999 at 100.101.102.103;transport=UDP>
>   ]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:get_hdr_field: cseq<CSeq>:<1>  <SUBSCRIBE>
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:get_hdr_field: content_length=0
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:get_hdr_field: found end of header
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: LOG:Someone trying
> to register from private IP, rewriting
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: Nated test -
> fix_nated_contact
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:parse_headers: flags=ffffffffffffffff
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: Nated test - force_rport
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:parse_headers: flags=200
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:rr:find_first_route: No Route headers found
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:rr:loose_route: There is no Route HF
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:parse_to_param: tag=65625d10
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: DBG:core:parse_to:
> end of header reached, state=29
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]: DBG:core:parse_to:
> display={"555999"}, ruri={sip:555999 at 100.101.102.103;transport=UDP}
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if host==us: 11==9&&
> [100.101.102.103] == [127.0.0.1]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if host==us: 11==11&&
> [100.101.102.103] == [100.101.102.103]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if host==us: 11==9&&
> [100.101.102.103] == [127.0.0.1]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if host==us: 11==11&&
> [100.101.102.103] == [100.101.102.103]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:registrar:lookup: '555999' Not found in usrloc
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if host==us: 11==9&&
> [100.101.102.103] == [127.0.0.1]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if host==us: 11==11&&
> [100.101.102.103] == [100.101.102.103]
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:registrar:lookup: found a complete match
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:registrar:lookup: setting as ruri
> <sip:555999 at 11.22.33.44:1024;rinstance=687e312bf1e441ce;transport=UDP>
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:registrar:lookup: looking for branches
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:parse_headers: flags=ffffffffffffffff
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> DBG:core:parse_headers: flags=ffffffffffffffff
> Apr 10 11:12:32 sbc /usr/local/sbin/opensips[3519]:
> ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
>
> Where is problem?
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com




More information about the Users mailing list