Hi Harshith, The 401 (Unauthorized) response message is used by an origin server to challenge the authorization of a user agent.
401 response MUST include a WWW-Authenticate header field containing at least one challenge applicable to the requested resource. The 407 (Proxy Authentication Required) response message is used by a proxy to challenge the authorization of a client and MUST include a Proxy-Authenticate header field containing at least one challenge applicable to the proxy for the requested resource. Sent from Nexus 6, Anand Konji On 20-Oct-2015 12:35 PM, "Harshith Mulky" <harshith.mu...@outlook.com> wrote: > What is the difference between a SIP 401 Unauthorized and SIP 407 Proxy > Authentication Required? > > I assumed SIP 401 is for REGISTER messages and SIP 407 was for INVITE > message challenging > > Am i correct? > > > Thanks > Harshith > > > > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors