Add voicemail record-silence-threshold variable and change the default threshold from 30 to 300.

This commit is contained in:
markjcrane
2015-11-16 16:59:11 -07:00
parent 4b8e61b094
commit 9761699ae7
3 changed files with 9 additions and 7 deletions
@@ -78,6 +78,10 @@
if (not vm_disk_quota) then
vm_disk_quota = session:getVariable("vm_disk_quota");
end
record_silence_threshold = session:getVariable("record-silence-threshold");
if (not record_silence_threshold) then
record_silence_threshold = 300;
end
voicemail_authorized = session:getVariable("voicemail_authorized");
if (not vm_message_ext) then vm_message_ext = 'wav'; end