From 6deaa1fa37a16d2f1c2424e971395360952009e8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 10 Jun 2025 10:35:42 -0600 Subject: [PATCH] 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. --- app/switch/resources/scripts/app/ring_groups/index.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/switch/resources/scripts/app/ring_groups/index.lua b/app/switch/resources/scripts/app/ring_groups/index.lua index 91ea32b28a..df1a2e8525 100644 --- a/app/switch/resources/scripts/app/ring_groups/index.lua +++ b/app/switch/resources/scripts/app/ring_groups/index.lua @@ -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;