summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
diff options
context:
space:
mode:
authorIordan Iordanov <iiordanov@gmail.com>2013-03-09 22:52:53 +0000
committerIordan Iordanov <iiordanov@gmail.com>2013-03-09 22:52:53 +0000
commita0183b2f75a772366336671a818707df3dc04e79 (patch)
treea93c028a0b361fd1181a5c4b3ce9d3afbbae8d6d /applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
parent7021120936575df16a3af6606399504d42e73531 (diff)
- added beep.gsm
- now escaping special characters in pbx-asterisk - changed location of voicemail temp stuff and log file - changed pbx-send-voicemail to use base64 instead of uuencode - added many missing dependencies - now allowing ip addresses as well as hostnames for external host - constrained # seconds to ring to positive integers - specifying externrefresh in sip.conf template - fixed voicemail (sending recordings, recording new greeting, instructions) - Implemented callback
Diffstat (limited to 'applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua')
-rw-r--r--applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua16
1 files changed, 9 insertions, 7 deletions
diff --git a/applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua b/applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
index 4f1034019f..5d4f135c5b 100644
--- a/applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
+++ b/applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
@@ -250,6 +250,7 @@ s:tab("qos", translate("QoS Settings"),
ringtime = s:taboption("general", Value, "ringtime", translate("Number of Seconds to Ring"),
translate("Set the number of seconds to ring users upon incoming calls before hanging up \
or going to voicemail, if the voicemail is installed and enabled."))
+ringtime.datatype = "port"
ringtime.default = 30
ua = s:taboption("general", Value, "useragent", translate("User Agent String"),
@@ -259,17 +260,18 @@ ua = s:taboption("general", Value, "useragent", translate("User Agent String"),
ua.default = appname
h = s:taboption("remote_usage", Value, "externhost", translate("Domain/IP Address/Dynamic Domain"),
- translate("You can enter your domain name, external IP address, or dynamic domain name here \
- Please keep in mind that if your IP address is dynamic and it changes your configuration \
- will become invalid. Hence, it's recommended to set up Dynamic DNS in this case."))
-h.datatype = "hostname"
+ translate("You can enter your domain name, external IP address, or dynamic domain name here. \
+ The best thing to input is a static IP address. If your IP address is dynamic and it changes, \
+ your configuration will become invalid. Hence, it's recommended to set up Dynamic DNS in this case. \
+ and enter your Dynamic DNS hostname here. You can configure Dynamic DNS with the luci-app-ddns package."))
+h.datatype = "host"
p = s:taboption("remote_usage", Value, "bindport", translate("External SIP Port"),
translate("Pick a random port number between 6500 and 9500 for the service to listen on. \
Do not pick the standard 5060, because it is often subject to brute-force attacks. \
- When finished, (1) click \"Save and Apply\", and (2) click the \"Restart VoIP Service\" \
- button above. Finally, (3) look in the \"SIP Device/Softphone Accounts\" section for \
- updated Server and Port settings for your SIP Devices/Softphones."))
+ When finished, (1) click \"Save and Apply\", and (2) look in the \
+ \"SIP Device/Softphone Accounts\" section for updated Server and Port settings \
+ for your SIP Devices/Softphones."))
p.datatype = "port"
p = s:taboption("remote_usage", Value, "rtpstart", translate("RTP Port Range Start"),