[Asterisk-Dev] Why Proxy-Authenticate instead of WWW-Authenticate in chan_sip?

Steven critch at basesys.com
Wed Jun 8 23:05:19 MST 2005


On Thu, 2005-06-09 at 07:37 +0200, Olle E. Johansson wrote:
> Mikael Magnusson wrote:
> > Hi,
> > 
> > It's often mentioned on the list that Asterisk is an user SIP agent and not a 
> > proxy. But why is then Proxy-Authenticate (and 407 Proxy
> > Authentication Required) used instead of WWW-Authenticate
> > (and 401 Unauthorized) in chan_sip. According to section 22.1 Framework
> > in RFC 3261:
> > 
> >   In SIP, a UAS uses the 401 (Unauthorized) response to challenge the
> >   identity of a UAC.
> > 
> I fully agree, but all patches to fix this has been refused because of
> fear we might break something. This makes it hard to use Asterisk
> together with an outbound proxy that authenticates.

Has it been tried with a config option to turn it on or off? 
-- 
Steven <critch at basesys.com>




More information about the asterisk-dev mailing list