[asterisk-bugs] [Asterisk 0018303]: Caller Name does not preserve multiple spaces
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 16 12:43:11 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18303
======================================================================
Reported By: trev
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18303
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.8.0
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-11-14 00:43 CST
Last Modified: 2010-11-16 12:43 CST
======================================================================
Summary: Caller Name does not preserve multiple spaces
Description:
When asterisk receives an INVITE with a Caller Name containing multiple
spaces, only one space is preserved.
Other SIP user agents / proxies / gateways as well as previous releases of
asterisk do preserve multiple spaces.
For example, "Victoria BC" <2505551234> becomes "Victoria BC"
<2505551234> which is undesired.
======================================================================
----------------------------------------------------------------------
(0128898) trev (reporter) - 2010-11-16 12:43
https://issues.asterisk.org/view.php?id=18303#c128898
----------------------------------------------------------------------
I believe this only comes in to play if you have string with a run of
sequences like this:
Header-Name: Some (comment
that goes here) Value
becomes "Some Value" with a single space, not "Some Value" with two
spaces because of the comment.
Furthermore, we are dealing with a quoted-string that contains the Caller
Name. My understanding is that the only case spaces will be removed are
the spaces immediately following a CRLF, for example:
Caller-Name: "Bob's
Pizza"
would become
Caller-Name: "Bob's Pizza"
Issue History
Date Modified Username Field Change
======================================================================
2010-11-16 12:43 trev Note Added: 0128898
======================================================================
More information about the asterisk-bugs
mailing list