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
+2
View File
@@ -193,6 +193,8 @@
status = dbh:query(sql, function(row)
--add functions
require "resources.functions.base64";
--make sure the recordings directory exists
mkdir(recordings_dir.."/"..domain_name);
--add the path to filename
ivr_menu_greet_long = recordings_dir.."/"..domain_name.."/"..greet_long_file_name;
ivr_menu_greet_long_is_base64 = true;