diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-05-24 03:28:49 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-05-24 03:28:49 +0000 |
commit | 3e99be68d19cb1457ad241c33aa5954ecd357f97 (patch) | |
tree | 1de9bdcafae2d3d951a9c26cf89619fb9330be68 /configs | |
parent | 74cb39729bb9c3dd54000c3c9dfe6848d28fb81c (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: https://origsvn.digium.com/svn/asterisk/trunk@29903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip.conf.sample | 4 |
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 |