[asterisk-bugs] [JIRA] (ASTERISK-28696) PJSIP exception when parsing 'Via' header
Linus Holzmann (JIRA)
noreply at issues.asterisk.org
Wed Jan 15 18:21:25 CST 2020
Linus Holzmann created ASTERISK-28696:
-----------------------------------------
Summary: PJSIP exception when parsing 'Via' header
Key: ASTERISK-28696
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28696
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_pjsip
Affects Versions: 16.2.1
Environment: Asterisk 16.2.1~dfsg-1+deb10u1
Linux raspberrypi 4.19.75-v8+ #1270 SMP PREEMPT Tue Sep 24 18:59:17 BST 2019 aarch64 GNU/Linux
Reporter: Linus Holzmann
On a register attemp, the server response throws a exception in the parsing of IPv6 opening bracket of "received=[" line.
effectively turning Registration Status Rejected.
same configuration works fine on IPv4 (dual stack sip server)
[2020-01-16 00:26:19] ERROR[2031] pjproject: sip_transport. Error processing 682 bytes packet from TCP ffff:ffff:ffff::fff:5060 : PJSIP syntax error exception when parsing 'Via' header on line 2 col 142:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP [ffff:ffff:ffff:f:ffff:ffff:ffff:ffff]:5060;rport=42469;branch=z1hG4bKPj324aeb17-bce0-4d10-778f-274e41430b5b;alias;received=[ffff:ffff:ffff:f:ffff:ffff:ffff:ffff]
From: ....
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list