[asterisk-bugs] [JIRA] (ASTERISK-21666) patch to implement match_auth_username option(sip.conf) for SIP REGISTER

Shaun (JIRA) noreply at issues.asterisk.org
Wed Aug 10 17:33:56 CDT 2016


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

Shaun updated ASTERISK-21666:
-----------------------------

    Comment: was deleted

(was: It is insane that this is still not fixed.  I don't understand why anyone would want this for everything except REGISTER.)

> patch to implement match_auth_username option(sip.conf) for SIP REGISTER
> ------------------------------------------------------------------------
>
>                 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
>         Attachments: auth_username_match.diff
>
>
> i have taken a look at the match_auth_username 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 was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list