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 0a0bd82444
commit 566824c7e1
1 changed files with 1 additions and 0 deletions

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