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
This commit is contained in:
Richard Mudgett
2011-12-12 17:34:39 +00:00
parent e8181c22cd
commit e2597678b1
7 changed files with 25 additions and 7 deletions

View File

@@ -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;
};