aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-24 03:28:49 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-24 03:28:49 +0000
commite86ffa4ac522f1b941cb72fda6afdf93e05b56d9 (patch)
tree1de9bdcafae2d3d951a9c26cf89619fb9330be68 /configs
parentfba1ee583a3e223b892fe08500010b919d8c27fe (diff)
add a new option for 'obscuring' SIP user/peer names from fishers
use an enum for authentication results and clean up code fix a bug where SUBSCRIBE for an unknown user/peer would not generate a response git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29903 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index e85e0c778..a78bae17f 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -136,6 +136,10 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Useful to limit subscriptions to local extensions
; Settable per peer/user also
;notifyringing = yes ; Notify subscriptions on RINGING state
+;alwaysauthreject = yes ; When an incoming INVITE or REGISTER is to be rejected,
+ ; for any reason, always reject with '401 Unauthorized'
+ ; instead of letting the requester know whether there was
+ ; a matching user or peer for their request
;
; If regcontext is specified, Asterisk will dynamically create and destroy a
; NoOp priority 1 extension for a given peer who registers or unregisters with