Missing message_status to listen to the recording again.

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:
FusionPBX
2020-12-17 09:00:02 -07:00
committed by GitHub

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");