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
commit 64822a388c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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