summaryrefslogtreecommitdiff
path: root/configs/extensions.conf.sample
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2011-12-12 17:34:39 +0000
committerRichard Mudgett <rmudgett@digium.com>2011-12-12 17:34:39 +0000
commite2597678b1bf10bb2ea2fac9cd6c3bd6e53e5b46 (patch)
tree0dcb64e94aed05326a8d19d34bc66da0d5b1ce08 /configs/extensions.conf.sample
parente8181c22cdeb735166a05c09e8981dec60338c29 (diff)
Update sample configs to put incoming calls into context public.
* Add warning about the SIP allowguest option in context public. (closes issue ASTERISK-14122) Reported by: Alec Davis Review: https://reviewboard.asterisk.org/r/719/ ........ Merged revisions 347953 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@347954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/extensions.conf.sample')
-rw-r--r--configs/extensions.conf.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index 890684578..b9d21d361 100644
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -653,6 +653,15 @@ exten => _X.,1,Macro(page,SIP/${EXTEN})
;exten => 1,1,Goto(default,steve,1)
;exten => 2,1,Goto(default,mark,2)
+[public]
+;
+; ATTENTION: If your Asterisk is connected to the internet and you do
+; not have allowguest=no in sip.conf, everybody out there may use your
+; public context without authentication. In that case you want to
+; double check which services you offer to the world.
+;
+include => demo
+
[default]
;
; By default we include the demo. In a production system, you