[OpenSER-Users] ipv6 parsing error
Klaus Darilion
klaus.mailinglists at pernau.at
Tue Jul 8 08:26:37 CEST 2008
Hi!
1. a tcpdump without SIP message content is useless. Better use "ngrep
-W byline port 5060" to get the SIP trace
2. SIP requires the IPv6 address to be in square brackets:
IPv6reference = "[" IPv6address "]"
-> fix the client
regards
klaus
Andhika Gannesha Gemilang schrieb:
> Hi,
> Im trying to setup ipv6 for my openser. i add this line in my openser.cfg
> *LIsten=udp:[2004:fa22:337:4::81]:5060
> Listen=tcp:[2004:fa22:337:4::81]:5060
>
> *and then when im trying to register with my sip phone, i got these line:
>
> ERROR:core:parse_uri: bad char ':' in state 3 parsed: <sip:2004:fa22>
> (13) / <sip:2004:fa22:337:4::81> (23)
> Jul 8 12:02:52 [2977] ERROR:core:parse_sip_msg_uri: bad uri
> <sip:2004:fa22:337:4::81>
> Jul 8 12:02:52 [2977] WARNING:core:do_action: error in expression
> Jul 8 12:02:52 [2981] ERROR:core:parse_uri: bad char ':' in state 3
> parsed: <sip:2004:fa22> (13) / <sip:2004:fa22:337:4::81> (23)
> Jul 8 12:02:52 [2981] ERROR:registrar:extract_aor: failed to parse
> Address of Record
> Jul 8 12:02:52 [2981] ERROR:registrar:save: failed to extract Address
> Of Record
>
> and these from tcpdump:
> 12:11:52.267529 IP6 2004:fa22:337:4::84.sip > 2004:fa22:337:4::81.sip:
> SIP, length: 488
> 12:11:52.272578 IP6 2004:fa22:337:4::81 > ff02::1:ff00:84: ICMP6,
> neighbor solicitation, who has 2004:fa22:337:4::84, length 32
> 12:11:52.273059 IP6 2004:fa22:337:4::84 > 2004:fa22:337:4::81: ICMP6,
> neighbor advertisement, tgt is 2004:fa22:337:4::84, length 32
> 12:11:52.273068 IP6 2004:fa22:337:4::81.sip > 2004:fa22:337:4::84.sip:
> SIP, length: 500
> 12:11:52.469341 IP6 2004:fa22:337:4::84.sip > 2004:fa22:337:4::81.sip:
> SIP, length: 671
> 12:11:52.470127 IP6 2004:fa22:337:4::81.sip > 2004:fa22:337:4::84.sip:
> SIP, length: 445
> 12:11:57.264948 IP6 fe80::213:20ff:feac:ce4f > 2004:fa22:337:4::81:
> ICMP6, neighbor solicitation, who has 2004:fa22:337:4::81, length 32
>
> also, i have disabled the ip6tables.
>
> any assistance would be so helpful to me
>
> thankyou,
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
More information about the sr-users
mailing list