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

Alisher (JIRA) noreply at issues.asterisk.org
Sun Mar 17 23:08:01 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alisher updated ASTERISK-21295:
-------------------------------

    Description: 
The registration fails when secret has parentheses symbol for instance 
secret=2134(asffd.

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.

  was:
The registration fails when secret has parentheses symbol for instance 
secret=2134(asffd.

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

Asterisk will parse secret at sec?(Ret:authuser, parsing wrong password and leaving authuser empty.

This works fine with Asterisk 1.4 version.

    
> Sip registration fails, wrong parsing when secret has parentheses symbol
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-21295
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21295
>             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
>         Attachments: cli_log.txt, sip.conf
>
>
> The registration fails when secret has parentheses symbol for instance 
> secret=2134(asffd.
> 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