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,
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 Klaus,
please try again with "tcpdump port 5060 -s 1600 -v" with -v the message seems to be only decoded if the ip packet is complete (-s 1600).
Tested with tcpdump version 3.9.5, libpcap version 0.9.5 on Debian.
Let me know if it's working...
regards, Andreas
Klaus Darilion schrieb:
Andreas Heise wrote:
# tcpdump port 5060 -s 1600 -v tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 1600 bytes 01:03:48.001623 IP (tos 0x0, ttl 120, id 14327, offset 0, flags [none], length: 693) 80-121-18-58.adsl.highway.telekom.at.51401 > sip.at43.at.sip: [udp sum ok] UDP, length: 665 01:03:48.002965 IP (tos 0x10, ttl 64, id 1892, offset 0, flags [DF], length: 399) sip.at43.at.sip > 80-121-18-58.adsl.highway.telekom.at.51401: [udp sum ok] UDP, length: 371
# tcpdump -V tcpdump version 3.8.3 libpcap version 0.8.3
probably my tcpdump is too old (debian sarge)
thanks anyway klaus