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:
Zion Dials
2020-12-11 08:55:42 -05:00
committed by GitHub
parent c314f4352a
commit 53e1440e1d

View File

@@ -193,7 +193,7 @@
--process the dtmf
if (session:ready()) 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
message_saved(voicemail_id, uuid);
session:execute("playback", "phrase:voicemail_ack:saved");