summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2010-09-03 17:30:04 +0000
committerDavid Vossel <dvossel@digium.com>2010-09-03 17:30:04 +0000
commitd17eded2e93e29d5c76d7cade3b032fdc9637627 (patch)
treeae877db98730ef1aea61c65fe27489149231d46e /configs
parent01aef13e0c62a39d69f1d839b13184db2f3af23f (diff)
Merged revisions 284950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r284950 | dvossel | 2010-09-03 12:29:02 -0500 (Fri, 03 Sep 2010) | 14 lines authenticate OPTIONS requests just like we would an INVITE OPTIONS requests should be treated the same as an INVITE This includes authentication. This patch adds the ability for incoming out of dialog OPTION requests to be authenticated before providing a response indicating whether an extension is available or not. The authentication routine works the exact same way as it does for incoming INVITEs. This means that if a peer has 'insecure=invite' in their peer definition, the same will be true for the processing of the OPTIONS request. Review: https://reviewboard.asterisk.org/r/881/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@284951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index b0c7e8d32..08ce0ba77 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -370,6 +370,14 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; the ability of an attacker to scan for valid SIP usernames.
; This option is set to "yes" by default.
+;auth_options_requests = no ; sip OPTIONS requests should be treated the exact same as
+ ; an INVITE, this includes performing authentication. By default
+ ; OPTIONS requests are authenticated, however this option allows
+ ; OPTION requests to proceed unauthenticated in order to increase
+ ; performance. This may be desirable if OPTIONS are only used to
+ ; qualify the availabilty of the endpoint/extension. Disabling
+ ; this option is not recommended.
+
;g726nonstandard = yes ; If the peer negotiates G726-32 audio, use AAL2 packing
; order instead of RFC3551 packing order (this is required
; for Sipura and Grandstream ATAs, among others). This is