diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-12-12 17:34:39 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-12-12 17:34:39 +0000 |
commit | e2597678b1bf10bb2ea2fac9cd6c3bd6e53e5b46 (patch) | |
tree | 0dcb64e94aed05326a8d19d34bc66da0d5b1ce08 /configs/extensions.lua.sample | |
parent | e8181c22cdeb735166a05c09e8981dec60338c29 (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.lua.sample')
-rw-r--r-- | configs/extensions.lua.sample | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configs/extensions.lua.sample b/configs/extensions.lua.sample index 5868de4f7..3badcb4aa 100644 --- a/configs/extensions.lua.sample +++ b/configs/extensions.lua.sample @@ -144,7 +144,7 @@ extensions = { end; ["1000"] = function() - app.goto("default", "s", 1) + app.goto("demo", "s", 1) end; ["1234"] = function() @@ -194,6 +194,15 @@ extensions = { include = {"demo"}; }; + 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"}; + }; + ["local"] = { ["_NXXXXXX"] = outgoing_local; }; |