one more spot to add playandgetdigits (#1942)
This commit is contained in:
@@ -80,7 +80,8 @@
|
|||||||
|
|
||||||
if saved then
|
if saved then
|
||||||
--play the greeting
|
--play the greeting
|
||||||
session:execute("playback",voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav");
|
dtmf_digits = session:playAndGetDigits(min_digits, max_digits, tries, timeout, "#", voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav", "", "\\d+", max_timeout);
|
||||||
|
--session:execute("playback",voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav");
|
||||||
|
|
||||||
--delete the greeting (retain local for better responsiveness)
|
--delete the greeting (retain local for better responsiveness)
|
||||||
--os.remove(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav");
|
--os.remove(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav");
|
||||||
|
|||||||
Reference in New Issue
Block a user