;
;language=en
;
-; Context for incoming calls. Defaults to 'default'
+; Context for calls. Defaults to 'default'
;
-context=public
+;context=incoming
;
; Switchtype: Only used for PRI.
;
;Sets default context all clients will be placed in.
;Default - default
-context=public
+context=default
;Sets rtptimeout for all clients, unless overridden
;Default - 60 seconds
;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
end;
["1000"] = function()
- app.goto("demo", "s", 1)
+ app.goto("default", "s", 1)
end;
["1234"] = function()
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;
};
;
[guest]
type=user
-context=public
+context=default
callerid="Guest IAX User"
;
; "setvar" to set variables that can be used in the dialplan for various limits.
[general]
-context=public ; Default context for incoming calls. Defaults to 'default'
+context=default ; Default context for incoming calls
;allowguest=no ; Allow or reject guest calls (default is yes)
; If your Asterisk is connected to the Internet
; and you have allowguest=yes
;
; Default context
;
-context=public
+context=default
;
; Echo cancellation