[OpenSIPS-Users] IPv6 -> "bad port"?
Gavin Murphy
gavin.murphy at newpace.com
Thu Sep 5 15:54:21 CEST 2013
We're running some tests with IPv6, and we're seeing OpenSIPS report the
following error:
Sep 5 12:40:18 user opensips[30809]: DBG:core:parse_via: next_via
Sep 5 12:40:18 user opensips[30809]: ERROR:core:parse_via: bad port
Sep 5 12:40:18 user opensips[30809]: ERROR:core:parse_via: <SIP/2.0/UDP 2001:490:ff1:31e6:200:32:bcf5:4f43;branch=z9hG4bK3ldb0033;received=2001:490:FF1:31E6:200:32:BCF5:4F43;rport=5060#015#012Call-ID: pphjpme48fkpz3_5t0i8k7f9ej4fde#015#012From: <sip:+1234544264505 at domain.com>;tag=jge883t_iq#015#012To: <sip:+1234544264505 at domain.com>;tag=36RUEDUTeVE4#015#012CSeq: 93759122 REGISTER#015#012Contact: <sip:+1234544264505 at 2001:490:ff1:31e6:200:32:bcf5:4f43;transport=udp>;+sip.instance="<urn:uuid:7f1d735e-c94b-d458-b478-9b85fc867622>";expires=467;pub-gruu="sip:+1234544264505 at 2001:490:ff1:31e6:200:32:bcf5:4f43;gr=urn:uuid:7f1d735e-c94b-d458-b478-9b85fc867622";temp-gruu="sip:trgruu-W0DRPo1zQKQv at domain.com;gr"#015#012Expires: 600#015#012Content-Length: 0#015#012P-Associated-URI: <sip:+1234544264505 at domain.com>#015#012#015#012>
Sep 5 12:40:18 user opensips[30809]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 2001:490>
Sep 5 12:40:18 user opensips[30809]: ERROR:core:get_hdr_field: bad via
Sep 5 12:40:18 user opensips[30809]: DBG:core:set_err_info: ec: 1, el: 3, ei: 'error parsing Via'
Sep 5 12:40:18 user opensips[30809]: DBG:core:get_hdr_field: error exit
Sep 5 12:40:18 user opensips[30809]: INFO:core:parse_headers: bad header field
Sep 5 12:40:18 user opensips[30809]: ERROR:core:parse_msg: message=<SIP/2.0 200 OK#015#012Via: SIP/2.0/UDP 195.134.231.111:6000;branch=z9hG4bK2591.3167c032.0,SIP/2.0/UDP 2001:490:ff1:31e6:200:32:bcf5:4f43;branch=z9hG4bK3ldb0033;received=2001:490:FF1:31E6:200:32:BCF5:4F43;rport=5060#015#012Call-ID: pphjpme48fkpz3_5t0i8k7f9ej4fde#015#012From: <sip:+1234544264505 at domain.com>;tag=jge883t_iq#015#012To: <sip:+1234544264505 at domain.com>;tag=36RUEDUTeVE4#015#012CSeq: 93759122 REGISTER#015#012Contact: <sip:+1234544264505 at 2001:490:ff1:31e6:200:32:bcf5:4f43;transport=udp>;+sip.instance="<urn:uuid:7f1d735e-c94b-d458-b478-9b85fc867622>";expires=467;pub-gruu="sip:+1234544264505 at 2001:490:ff1:31e6:200:32:bcf5:4f43;gr=urn:uuid:7f1d735e-c94b-d458-b478-9b85fc867622";temp-gruu="sip:trgruu-W0DRPo1zQKQv at domain.com;gr"#015#012Expires: 600#015#012Content-Length: 0#015#012P-Associated-URI: <sip:+1234544264505 at domain.com>#015#012#015#012>
Sep 5 12:40:18 user opensips[30809]: ERROR:core:receive_msg: parse_msg failed
It appears to be choking on the IPv6 address, perhaps expecting a port
with the address enclosed in square brackets?
Gavin
More information about the Users
mailing list