mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user