Revert commit #71032f2

This caused a recording issue for ring groups, where it would only record the first extension in the ring group destinations and would not record any others.
This commit is contained in:
FusionPBX
2025-06-10 10:35:42 -06:00
committed by GitHub
parent 10ef68a7aa
commit 6deaa1fa37

View File

@@ -918,11 +918,6 @@ log = require "resources.functions.log".ring_group
record_session = true;
end
--set record session to false if the recording was already started
if (session:getVariable("record_path") ~= nil and session:getVariable("record_name") ~= nil) then
record_session = false;
end
--record the session
if (record_session) then
record_session = ",api_on_answer='uuid_record "..uuid.." start ".. record_path .. "/" .. record_name .. "',record_path='".. record_path .."',record_name="..record_name;