[asterisk-bugs] [JIRA] (ASTERISK-21309) Sip registration fails, wrong parsing when secret has parentheses symbol

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Mar 21 18:25:02 CDT 2013


Rusty Newton created ASTERISK-21309:
---------------------------------------

             Summary: Sip registration fails, wrong parsing when secret has parentheses symbol
                 Key: ASTERISK-21309
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21309
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 11.2.1
         Environment: CentOS 6.4 32 bit
            Reporter: Alisher


The registration fails when secret has parentheses () or bracket [] symbols  for instance 
secret=2134(asffd or secret=2134[asffd. There could be more, but so far I can confirm issue with parentheses and brackets.

When we try to register the following:
 register=username:"sec?(Ret":authuser at domain:port/extension

Asterisk will parse secret as sec?(Ret:authuser. As a result it parses wrong password and leaves authuser blank.

This works fine with Asterisk 1.4 version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list