Update delete_recording.lua

Remove the into_<uuid> voicemail file.
This commit is contained in:
FusionPBX
2016-09-03 15:40:11 -06:00
committed by GitHub
parent 29e3cc1b86
commit b8b39a880e

View File

@@ -42,6 +42,7 @@
--flush dtmf digits from the input buffer
session:flushDigits();
--delete the file
os.remove(voicemail_dir.."/"..voicemail_id.."/intro_"..uuid.."."..vm_message_ext);
os.remove(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext);
--delete from the database
sql = [[DELETE FROM v_voicemail_messages