[asterisk-dev] [svn-commits] mmichelson: branch 12 r399059 - in /branches/12/res: ./ res_pjsip/

Mark Michelson mmichelson at digium.com
Fri Sep 13 09:42:02 CDT 2013


On 09/13/2013 09:29 AM, Olle E. Johansson wrote:
>
> 13 sep 2013 kl. 16:24 skrev SVN commits to the Digium repositories 
> <svn-commits at lists.digium.com <mailto:svn-commits at lists.digium.com>>:
>
>> With this change, if no realm is specified in an outbound auth
>> section, then we will simply match the realm that was present
>> in the 401/407 challenge.
> Hmm.
> You ALWAYS use the realm in the challenge. When do you not do that?
>
> Sorry if I misunderstand.
> /O
>
No problem. The commit message may have been a bit unclear. It's not 
that we would use a different realm in our SIP request. The problem was 
that if we had an authentication section with no realm specified,  it 
would default to the value "asterisk". If the 401/407 had realm=bacon, 
then we would end the call since we would say we had no authentication 
credentials for the realm in the auth challenge. With this change, if no 
realm is specified in an authentication section, we treat the section as 
a "match any incoming realm".

Mark Michelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130913/b9b1343c/attachment.htm>


More information about the asterisk-dev mailing list