[asterisk-bugs] [Asterisk 0019389]: Display names with '\' characters near quotes make Asterisk fail to parse the quotation marks correctly.
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue May 31 10:37:24 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=19389
======================================================================
Reported By: jrose
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 19389
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: low
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-05-31 10:05 CDT
Last Modified: 2011-05-31 10:37 CDT
======================================================================
Summary: Display names with '\' characters near quotes make
Asterisk fail to parse the quotation marks correctly.
Description:
What I am about to describe is a parsing as well as possibly a config
reading issue.
Asterisk box A has a SIP user with a display name of
"Super Bob\" set via callerid in sip.conf
Super Bob calls Asterisk Box B, which fails to make a connection due to
the following error:
[May 31 09:44:39] WARNING[12931]: sip/reqresp_parser.c:1023
get_in_brackets_full: No closing quote found in '"Super Bob\"
<sip:snowball at 10.24.20.132>;tag=as48569096'
[May 31 09:44:39] WARNING[12931]: chan_sip.c:14803 get_destination: Not a
SIP header ("Super Bob\" <sip:snowball)?
tmp = <sip:snowball at 10.24.20.132:5060>
This will also happen with the display-name:
"Super Bob\\"
======================================================================
----------------------------------------------------------------------
(0135584) jrose (manager) - 2011-05-31 10:37
https://issues.asterisk.org/view.php?id=19389#c135584
----------------------------------------------------------------------
Actually, in retrospect, I'm not 100% sure whether '\' is actually an
allowed character in the display-name, so this might not be a problem for
actually reading SIP messages.
Issue History
Date Modified Username Field Change
======================================================================
2011-05-31 10:37 jrose Note Added: 0135584
======================================================================
More information about the asterisk-bugs
mailing list