Hello Sigrid, In your 407 Proxy authentication required, you have "Proxy-authenticate" for the challenge? This one seems to be from the proxy. I believe registrar send 401 Unauthorized which seems be your second one. So, by including both authorizations when you send the second register, your request will get through. Proxy will consume first one, registrar consumes second one.
Kedar On 5/4/06, Sigrid Thijs <[EMAIL PROTECTED]> wrote: > > Hi, > > I wonder if the following situation is according to RFC 3261. > > When we send a REGISTER request to a SIP server, we receive a 407 Proxy > Authentication Required response, containing a WWW-Authenticate header > for realm "123domain". > The client resends the original REGISTER request with the credentials in > an Authorization header, according to section 22.2 and 22.3 of RFC 3261. > So far so good, but then we receive from the SIP server a 401 > Unauthorized response, containing a new WWW-Authenticate header > (different realm). The WWW-Authenticate header received in the 407 > response is not present. > > Is this allowed that we receive a second 401 or 407 response without > mentioning the first WWW-Authenticate header? > Is it recommended to add both Authorization headers, or only those that > are requested in the response? > > -- > kind regards, > Sigrid Thijs > _______________________________________________ > Sip-implementors mailing list > [email protected] > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
