Update listen_to_recording.lua
Missing message_status to listen to the recording again causes to error out and return to the main menu without it.
This commit is contained in:
parent
c314f4352a
commit
53e1440e1d
|
|
@ -193,7 +193,7 @@
|
||||||
--process the dtmf
|
--process the dtmf
|
||||||
if (session:ready()) then
|
if (session:ready()) then
|
||||||
if (dtmf_digits == "1") then
|
if (dtmf_digits == "1") then
|
||||||
listen_to_recording(message_number, uuid, created_epoch, caller_id_name, caller_id_number);
|
listen_to_recording(message_number, uuid, created_epoch, caller_id_name, caller_id_number, message_status);
|
||||||
elseif (dtmf_digits == "2") then
|
elseif (dtmf_digits == "2") then
|
||||||
message_saved(voicemail_id, uuid);
|
message_saved(voicemail_id, uuid);
|
||||||
session:execute("playback", "phrase:voicemail_ack:saved");
|
session:execute("playback", "phrase:voicemail_ack:saved");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue