+ move [almost] all instances of WWW-Authenticate/Proxy-Authenticate
authorLuigi Rizzo <rizzo@icir.org>
Thu, 12 Oct 2006 15:12:54 +0000 (15:12 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Thu, 12 Oct 2006 15:12:54 +0000 (15:12 +0000)
commit97ac6793c7977a46d7c4531651d21ddf22555b48
treed9e0ae54cf885f042a278dc97493508c76a3be39
parent0752be2ec0e3a6220a39cf5dfde889ed030f76dc
+ move [almost] all instances of WWW-Authenticate/Proxy-Authenticate
  and friends in a function, auth_headers(), which is used to
  simplify the interface of do_{proxy|register}_auth().

+ use PROXY_AUTH = 407, WWW_AUTH = 401 as values for enum sip_auth_type;

No functional change, only code cleanup.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c