Fix. Use temp_dir variable instead of hard coded /tmp

This commit is contained in:
Alexey Melnichuk
2015-08-07 11:52:18 +04:00
parent 5c8a6dd7fe
commit 785136eca9
7 changed files with 12 additions and 12 deletions

View File

@@ -66,7 +66,7 @@
--if the screen file is found then set confirm to true
if (domain_name ~= nil) then
call_screen_file = "/tmp/" .. domain_name .. "-" .. caller_id_number .. "." .. record_ext;
call_screen_file = temp_dir .. "/" .. domain_name .. "-" .. caller_id_number .. "." .. record_ext;
if (file_exists(call_screen_file)) then
confirm = "true";
end