Update index.lua
This commit is contained in:
parent
e0555de2d3
commit
ce8ac1d3e2
|
|
@ -237,8 +237,13 @@
|
|||
record_path = recordings_dir .. "/" .. domain_name .. "/archive/" .. os.date("%Y/%b/%d");
|
||||
record_path = record_path:gsub("\\", "/");
|
||||
|
||||
--set the recording file
|
||||
--set the recording file name
|
||||
if (session:ready()) then
|
||||
record_name = session:getVariable("record_name");
|
||||
if (not record_name) then
|
||||
record_name = uuid .. "." .. record_ext;
|
||||
end
|
||||
end
|
||||
|
||||
---set the call_timeout to a higher value to prevent the early timeout of the ring group
|
||||
if (session:ready()) then
|
||||
|
|
|
|||
Loading…
Reference in New Issue