Make sure the voicemail directory exists.

This commit is contained in:
Mark Crane
2013-04-12 18:58:53 +00:00
parent 526d0e6f32
commit 7f94b55e7a
2 changed files with 3 additions and 1 deletions
@@ -218,6 +218,9 @@
--valid voicemail
if (voicemail_uuid ~= nil) then
--make sure the voicemail directory exists
mkdir(voicemail_dir.."/"..voicemail_id);
--save the recording
timeouts = 0;
play_greeting();