summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-pbx/root
diff options
context:
space:
mode:
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()