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

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


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204476#comment-204476 ] 

Rusty Newton commented on ASTERISK-21295:
-----------------------------------------

Ack'ing. Asterisk documentation (sip.conf at least and probably somewhere else) should also indicate what characters can and can't be used.
                
> 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 () 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