Update remove_deleted_messages.lua
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user