[asterisk-dev] REGISTER uses 401 not 407?

Mikael Magnusson mikma264 at gmail.com
Wed Oct 4 11:00:08 MST 2006


Roy Sigurd Karlsbakk wrote:
>> According to the Audiocodes engineer:
>>
>>> Unfortunately we're receiving back a 401 UNAUTHORIZED ... which is a
>>> final response (4xx) <snip/>
> 
> 
>  From RFC3261 8.1.3.5:
> 
>> If a 401 (Unauthorized) or 407 (Proxy Authentication Required)
>> response is received, the UAC SHOULD follow the authorization
>> procedures of Section 22.2 and Section 22.3 to retry the request with
>> credentials.
> 

And from RFC 3261 22.1:

    A UAC MUST NOT re-attempt requests with the credentials
    that have just been rejected (though the request may be retried if
    the nonce was stale).

Mikael


More information about the asterisk-dev mailing list