< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [repro-users] [lumicall-users] "-1" after port in CANCEL message


Just tested this without the IPv6 [ ] patch by rolling back the code, and got the slightly different error message including the 'bad port' in the message.  This confirms that these are two separate issues, one with the brackets [ ] and one with the ':-1' appended in CANCEL message:
 
 
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:core:parse_via: bad port
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:core:parse_via:  <SIP/2.0/TLS 10.40.253.171:33598:-1;rport;branch=z9hG4bK29024^M
Max-Forwards: 70^M
To: <sip:+447479189410@xxxxxxxxxx;transport=tls>^M
From: <sip:+447984972374@xxxxxxxxxx>;tag=z9hG4bK36872147^M
Call-ID: 925862105953@10.40.253.171^M
CSeq: 2 CANCEL^M
Contact: <sip:+447984972374@10.40.253.171:33598;transport=tls>^M
Expires: 3600^M
User-Agent: domain/1.4.2/SM-G900F^M
Content-Length: 0^M
^M
>
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:core:parse_via: parsed so far:<SIP/2.0/TLS 10.40.253.171:33598>
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:core:get_hdr_field: bad via
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: INFO:core:parse_headers: bad header field
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:core:parse_msg: message=<CANCEL sip:+447479189410@xxxxxxxxxx;transport=tls SIP/2.0^M
Via: SIP/2.0/TLS 10.40.253.171:33598:-1;rport;branch=z9hG4bK29024^M
Max-Forwards: 70^M
To: <sip:+447479189410@xxxxxxxxxx;transport=tls>^M
From: <sip:+447984972374@xxxxxxxxxx>;tag=z9hG4bK36872147^M
Call-ID: 925862105953@10.40.253.171^M
CSeq: 2 CANCEL^M
Contact: <sip:+447984972374@10.40.253.171:33598;transport=tls>^M
Expires: 3600^M
User-Agent: domain/1.4.2/SM-G900F^M
Content-Length: 0^M
^M
>
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:core:receive_msg: Unable to parse msg received from [188.29.164.152:44325]
Sep 30 10:44:52 server1 /usr/local/sbin/opensips[2266]: ERROR:proto_tls:tcp_handle_req: receive_msg failed