mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update 010_user_record.lua.noload
This commit is contained in:
@@ -15,8 +15,11 @@
|
||||
end
|
||||
path = path.."/archive/"..(os.date("%Y")).."/"..(os.date("%b")).."/"..(os.date("%d"));
|
||||
|
||||
--make sure the path exists
|
||||
api:executeString("system mkdir -p "..path);
|
||||
--add functions
|
||||
require "resources.functions.mkdir";
|
||||
|
||||
--make sure the recordings directory exists
|
||||
mkdir(path);
|
||||
|
||||
--check whether to record the to user
|
||||
if (user_exists == "true") then
|
||||
|
||||
Reference in New Issue
Block a user