diff options
author | Iordan Iordanov <iiordanov@gmail.com> | 2011-10-28 03:44:23 +0000 |
---|---|---|
committer | Iordan Iordanov <iiordanov@gmail.com> | 2011-10-28 03:44:23 +0000 |
commit | 33caee55e4e3657511a49105a1a34a15fe994e0a (patch) | |
tree | 79dc376423e6296af061ea09bae98d02bef11868 /applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE | |
parent | 84acc67709d4c60470e2727ff991170739d61537 (diff) |
This is the initial release of luci-pbx as submitted to the mailing list.
Diffstat (limited to 'applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE')
-rw-r--r-- | applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE b/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE new file mode 100644 index 0000000000..f3edac384b --- /dev/null +++ b/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE @@ -0,0 +1,30 @@ +[general] +static = yes +writeprotect = yes +clearglobalvars = no + +[globals] + +[default] + +[context-user-hangup] +exten => s,1,Hangup() +exten => _X.,1,Hangup() + +[context-catch-all] +exten => _[!-~].,1,Dial(SIP/${EXTEN},60,r) + +[default-incoming-call-context] +exten => s,1,NoOp(${CALLERID}) +exten => s,n,Set(SOURCECONTEXT=default-incoming-call-context) +exten => s,n,Set(SOURCEEXTEN=s) +exten => s,n,Goto(blacklist-call-context,s,1) +exten => s,n(doneblacklist),NoOp() +exten => s,n,Goto(disa-check-call-context,s,1) +exten => s,n(donedisacheck),Dial(|LOCALUSERS|,60,r) + +#include extensions_incoming.conf +#include extensions_incoming_gtalk.conf +#include extensions_blacklist.conf +#include extensions_callthrough.conf +#include extensions_user.conf |