From 255bfc79f08e1b9b33ebe3142394fb714cdb4f92 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 15 Apr 2015 21:16:11 +0000 Subject: [PATCH] Remove the mkdir that isn't needed in recordings.lua. --- resources/install/scripts/recordings.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/install/scripts/recordings.lua b/resources/install/scripts/recordings.lua index 16f875bdb4..a1896b25e6 100644 --- a/resources/install/scripts/recordings.lua +++ b/resources/install/scripts/recordings.lua @@ -186,10 +186,9 @@ dbh:query(sql); end elseif (storage_type == "http_cache") then - freeswitch.consoleLog("notice", "[voicemail] ".. storage_type .. " ".. storage_path .."\n"); + freeswitch.consoleLog("notice", "[recordings] ".. storage_type .. " ".. storage_path .."\n"); session:execute("record", storage_path .."/"..recording_name); else - mkdir(voicemail_dir.."/"..voicemail_id); -- syntax is session:recordFile(file_name, max_len_secs, silence_threshold, silence_secs); session:execute("record", "'"..recordings_dir.."/"..recording_name.."' 10800 500 500"); end