New SIP Channel driver: Always Auth Reject
authorKevin Harwell <kharwell@digium.com>
Tue, 2 Jul 2013 17:06:06 +0000 (17:06 +0000)
committerKevin Harwell <kharwell@digium.com>
Tue, 2 Jul 2013 17:06:06 +0000 (17:06 +0000)
commita25a630659c49e5e5cddacdaa06a0bd323f7c9a1
treeeed4d9cfab14942e856cafa3e654a238d9d73487
parentde206baa99f0e72129f036f1d8258f802367cb58
New SIP Channel driver: Always Auth Reject

If no matching endpoint is found for the incoming request Asterisk will respond
with a 401 Unauthorized (rejecting the request), but will first challenge if
no authorization creditials are given.

Changes also included moving ACL options into a new global 'security'
configuration section in res_sip.conf.

(closes issue ASTERISK-21433)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2554/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/res_sip.h
res/res_sip.c
res/res_sip.exports.in
res/res_sip/config_auth.c
res/res_sip/config_security.c [new file with mode: 0644]
res/res_sip/sip_configuration.c
res/res_sip/sip_distributor.c
res/res_sip_acl.c
res/res_sip_authenticator_digest.c
res/res_sip_outbound_authenticator_digest.c