Base64 - Make sure the directory structure exists.

This commit is contained in:
markjcrane
2016-02-03 10:01:43 -07:00
parent a698b32b2a
commit 986784e3fa
3 changed files with 4 additions and 0 deletions

View File

@@ -83,6 +83,7 @@
require "resources.functions.base64";
--set the voicemail message path
mkdir(voicemail_dir.."/"..voicemail_id);
message_location = voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext;
--save the recording to the file system

View File

@@ -55,6 +55,7 @@
require "resources.functions.base64";
--set the voicemail message path
mkdir(voicemail_dir.."/"..voicemail_id);
greeting_location = voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"; --vm_message_ext;
--if not found, save greeting to local file system