summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-pbx/root
diff options
context:
space:
mode:
authorIordan Iordanov <iiordanov@gmail.com>2011-11-28 02:33:52 +0000
committerIordan Iordanov <iiordanov@gmail.com>2011-11-28 02:33:52 +0000
commit2cad3e038a153ad39230aff20c72fc32fa8d0c78 (patch)
treefda807cd2e9e554a06ed9a086f2b0ff9e22714e7 /applications/luci-pbx/root
parent1c2449394db9b0c93847a9f52b286163960d14cb (diff)
1) Added default rtpstart and end config values in pbx-advanced.
2) Some rewording of instructions and descriptions. 3) Changed the default hangup context name.
Diffstat (limited to 'applications/luci-pbx/root')
-rw-r--r--applications/luci-pbx/root/etc/config/pbx-advanced2
-rwxr-xr-xapplications/luci-pbx/root/etc/init.d/pbx-asterisk3
-rw-r--r--applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE2
3 files changed, 4 insertions, 3 deletions
diff --git a/applications/luci-pbx/root/etc/config/pbx-advanced b/applications/luci-pbx/root/etc/config/pbx-advanced
index 58af453f92..39da6f880c 100644
--- a/applications/luci-pbx/root/etc/config/pbx-advanced
+++ b/applications/luci-pbx/root/etc/config/pbx-advanced
@@ -1,3 +1,5 @@
config 'settings' 'advanced'
option 'useragent' 'PBX'
option 'ringtime' '30'
+ option 'rtpstart' '19850'
+ option 'rtpend' '19900'
diff --git a/applications/luci-pbx/root/etc/init.d/pbx-asterisk b/applications/luci-pbx/root/etc/init.d/pbx-asterisk
index 6b4808b730..5812b3a738 100755
--- a/applications/luci-pbx/root/etc/init.d/pbx-asterisk
+++ b/applications/luci-pbx/root/etc/init.d/pbx-asterisk
@@ -24,8 +24,7 @@ START=60
# Some global variables
MODULENAME=pbx
USERAGENT="PBX"
-DEFAULTOUTCNTXT=default-outgoing-call-context
-HANGUPCNTXT=hangup
+HANGUPCNTXT=hangup-call-context
GTALKUNVL=unavailable
ASTUSER=nobody
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 a01a22fa31..534945cc11 100644
--- a/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE
+++ b/applications/luci-pbx/root/etc/pbx-asterisk/extensions.conf.TEMPLATE
@@ -8,7 +8,7 @@ RINGTIME => |RINGTIME|
[default]
-[context-user-hangup]
+[context-user-hangup-call-context]
exten => s,1,Hangup()
exten => _X.,1,Hangup()