[asterisk-bugs] [JIRA] (ASTERISK-20584) Asterisk 1.8 allows the # character in SIP URI, 10 and higher versions do not - need to document in UPGRADE.txt possibly other places?

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Oct 18 13:54:18 CDT 2012


Rusty Newton created ASTERISK-20584:
---------------------------------------

             Summary: Asterisk 1.8 allows the # character in SIP URI, 10 and higher versions do not - need to document in UPGRADE.txt possibly other places?
                 Key: ASTERISK-20584
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20584
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 1.8.17.0
            Reporter: Deniz


When setting CALLERID(num)=#0012345678 asterisk is generating from-header:

from: <sip:#0012345678 at 192.168.110.12>

My understanding of RFC 3261 usernames are just allowed to contain alphanumeric characters, escape-sequences and some special characters (which do not include #).
RFC 3261 refers to rfc2396 for more details which describes # as delimiter and not allowed to be part of URI.

So, this character has to be replaced by "%23".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list