summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE
diff options
context:
space:
mode:
authorIordan Iordanov <iiordanov@gmail.com>2011-11-22 04:21:57 +0000
committerIordan Iordanov <iiordanov@gmail.com>2011-11-22 04:21:57 +0000
commit6663c0a935684e7caabdbae17185ed056287038e (patch)
tree9b4fac2c6c63d9b82115b8a783b953f3e3e13f27 /applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE
parent3face708593d3de417b93472b827d05a8a5813fb (diff)
1) Checking in all necessary changes to acommodate the new luci-pbx-voicemail package.
- Creating configuration with pbx-asterisk - TEMPLATE files - Including record voicemail greeting context in user extensions. - Redirecting incoming calls which were not picked up through the voicemail recording context. - Putting a configurable timeout before either hanging up if voicemail is disabled or redirecting to voicemail if it is enabled. 2) Improved DISA by setting longer timeouts for start of input and digits.
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.TEMPLATE12
1 files changed, 3 insertions, 9 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
index f3edac384b..a01a22fa31 100644
--- a/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE
+++ b/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE
@@ -4,6 +4,7 @@ writeprotect = yes
clearglobalvars = no
[globals]
+RINGTIME => |RINGTIME|
[default]
@@ -14,15 +15,8 @@ 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_default.conf
+#include extensions_voicemail.conf
#include extensions_incoming.conf
#include extensions_incoming_gtalk.conf
#include extensions_blacklist.conf