Update remove_deleted_messages.lua

This commit is contained in:
FusionPBX 2025-01-28 16:52:30 -07:00 committed by GitHub
parent 6533ff89fb
commit 0b455d5179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
--delete all deleted messages for a single mailbox
function remove_deleted_messages(voicemail_id)
--get the voicemail_uuid
local sql = [[SELECT * FROM v_voicemails
local sql = [[SELECT * FROM v_voicemails
WHERE domain_uuid = :domain_uuid
AND voicemail_id = :voicemail_id]];
local params = {domain_uuid = domain_uuid, voicemail_id = voicemail_id};
@ -89,4 +89,4 @@
--flush dtmf digits from the input buffer
session:flushDigits();
end
end