Remove the mkdir that isn't needed in recordings.lua.
This commit is contained in:
@@ -186,10 +186,9 @@
|
|||||||
dbh:query(sql);
|
dbh:query(sql);
|
||||||
end
|
end
|
||||||
elseif (storage_type == "http_cache") then
|
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);
|
session:execute("record", storage_path .."/"..recording_name);
|
||||||
else
|
else
|
||||||
mkdir(voicemail_dir.."/"..voicemail_id);
|
|
||||||
-- syntax is session:recordFile(file_name, max_len_secs, silence_threshold, silence_secs);
|
-- syntax is session:recordFile(file_name, max_len_secs, silence_threshold, silence_secs);
|
||||||
session:execute("record", "'"..recordings_dir.."/"..recording_name.."' 10800 500 500");
|
session:execute("record", "'"..recordings_dir.."/"..recording_name.."' 10800 500 500");
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user