<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=16212586" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joelsdc">@joelsdc</a>: regarding the description of the issue - Kamailio doesn't return values for auth-header related variable before authentication is done, they are not set before auth_check()/proxy_authenticate()/... That's because a SIP request can have many Proxy-/Authorize headers with different realm and kamailio has to know which one is corresponding for itself along. Moreover, after authentication is validated, you are sure it a valid username that used a valid password.</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=6481937" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/henningw">@henningw</a>: personally I am not opposing to add it at this stage, if other developers have nothing against. If other developers don't feel comfortable with it, then a solution that can be used now in config is $(Au{s.select,0,@})</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2056?email_source=notifications&email_token=ABO7UZNSLKXRZS4SL6YTLRLQIFQFBA5CNFSM4IT7YLIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ARWDA#issuecomment-528554764">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZL4LMBJVKLDGPLVALTQIFQFBANCNFSM4IT7YLIA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZISUFPZH6Q5PIMYFETQIFQFBA5CNFSM4IT7YLIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ARWDA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2056?email_source=notifications\u0026email_token=ABO7UZNSLKXRZS4SL6YTLRLQIFQFBA5CNFSM4IT7YLIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ARWDA#issuecomment-528554764",
"url": "https://github.com/kamailio/kamailio/issues/2056?email_source=notifications\u0026email_token=ABO7UZNSLKXRZS4SL6YTLRLQIFQFBA5CNFSM4IT7YLIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ARWDA#issuecomment-528554764",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>