[asterisk-bugs] [JIRA] (ASTERISK-21666) auth_username_match option in sip.conf

Wolfgang Pichler (JIRA) noreply at issues.asterisk.org
Mon Apr 22 22:28:01 CDT 2013


Wolfgang Pichler created ASTERISK-21666:
-------------------------------------------

             Summary: auth_username_match option in sip.conf
                 Key: ASTERISK-21666
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21666
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/Registration
    Affects Versions: 11.3.0
         Environment: centos 6, 64 bit
            Reporter: Wolfgang Pichler
            Severity: Minor


i have taken a look at the auth_username_match option in sip.conf - and in the chan_sip.c implementation.

chan_sip does implement the username check in the Authorization header for subscribes and invites and so on - but not for REGISTER.

Why is that so ? That does not make sense for me.

I have patched the register function in chan_sip - so it now does also accept the username in the authorization header. Does work as expected - and does solve some little "not that nice name on display" problems...


--
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