parse error with IPV6 addresses in square brackets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since asterisk 13.13, it does not recognise IPV6 SIP packets produced by AVM Fritz OS any more.

It looks like this is related to the parsing of square brackets.
It says:
"PJSIP syntax error exception when parsing 'Status Line' header on line 2 col 112"

col 112 is: [2a01:7a0:3::2]
             ^

As you can see, the INVITE responses are not being processed, this breaks my SIP installation. I wonder if anyone has also observed this behaviour and if there is a known resolution for it?


[May 16 12:48:22] ERROR[19075]: pjproject:0 <?>: 	sip_transport. Error processing 1139 bytes packet from UDP 2003:7a:577:3600:9ec7:a6ff:fe99:a32c:5060 : PJSIP syntax error exception when parsing 'Status Line' header on line 2 col 112:
SIP/2.0 200 OK
Via: SIP/2.0/UDP [2a01:7a0:3::2]:5060;rport=5060;branch=z9hG4bKPj2df943e2-04c6-4c84-a39e-b7226c5cce94;received=[2a01:7a0:3::2]
From: <sip:96@[2a01:7a0:3::2]>;tag=688b08fd-90f6-4d65-bfb7-1accd54a4120
To: <sip:9911@[2003:7a:577:3600:9ec7:a6ff:fe99:a32c];uniq=DB37BCB6573F1EDE1D728FDA5D3F8>;tag=CE4B473E49C8B813
Call-ID: 2ce378dc-ebfc-48e9-97f8-b1a85a44e5ec
CSeq: 30789 INVITE
Contact: <sip:99@[2003:7a:577:3600:9ec7:a6ff:fe99:a32c];uniq=DB37BCB6573F1EDE1D728FDA5D3F8>
User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.06.83 (Mar  8 2017)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   302

v=0
o=user 1392350 1392350 IN IP6 2003:7a:577:3600:9ec7:a6ff:fe99:a32c
s=Asterisk
c=IN IP6 2003:7a:577:3600:9ec7:a6ff:fe99:a32c
t=0 0
m=audio 7078 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:7079
a=ptime:30

-- end of packet.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux