summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-pbx-voicemail/luasrc/model
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-voicemail/luasrc/model
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-voicemail/luasrc/model')
-rw-r--r--applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua15
1 files changed, 9 insertions, 6 deletions
diff --git a/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua b/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua
index 62320609ad..9ff2ed97fe 100644
--- a/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua
+++ b/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua
@@ -64,20 +64,23 @@ savepath = s:option(Value, "global_save_path", translate("Local Storage Director
option only if you know what you are doing."))
savepath.optional = true
-if nixio.fs.access("/etc/pbx-voicemail/greeting.WAV") then
+if nixio.fs.access("/etc/pbx-voicemail/recordings/greeting.gsm") then
m1 = s:option(DummyValue, "_m1")
m1:depends("enabled", "yes")
m1.default = "NOTE: Found a voicemail greeting. To check or change your voicemail greeting, dial *789 \
- and the system will play your current message. You have 5 seconds to hangup, otherwise a \
- new recording will begin and your old message will be overwritten. Hang up or press # to \
- stop recording. When you press #, the system will play back the new recording."
+ and the system will play back your current greeting. After that, a long beep will sound and \
+ you can press * in order to record a new message. Hang up to avoid recording a message. \
+ If you press *, a second long beep will sound, and you can record a new greeting. \
+ Hang up or press # to stop recording. When # is pressed the system will play back the \
+ new greeting."
else
m1 = s:option(DummyValue, "_m1")
m1:depends("enabled", "yes")
m1.default = "WARNING: Could not find voicemail greeting. Callers will hear only a beep before \
- recording starts. To record a greeting, dial *789 and record a greeting after the beep. \
+ recording starts. To record a greeting, dial *789, and press * after the long beep. \
+ If you press *, a second long beep will sound, and you can record a new greeting. \
Hang up or press # to stop recording. When # is pressed the system will play back the \
- recording."
+ new greeting."
end