From 17d35e650159888246e7cef68583b53e66ce2587 Mon Sep 17 00:00:00 2001 From: agree Date: Tue, 27 Apr 2021 23:34:36 -0400 Subject: [PATCH] Ring group presence add missing channel variable without presence_id set freeswitch won't update any presence changes for a call --- app/scripts/resources/scripts/app/ring_groups/index.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/resources/scripts/app/ring_groups/index.lua b/app/scripts/resources/scripts/app/ring_groups/index.lua index 858c584cb6..a62cb75a86 100644 --- a/app/scripts/resources/scripts/app/ring_groups/index.lua +++ b/app/scripts/resources/scripts/app/ring_groups/index.lua @@ -980,6 +980,7 @@ -- log.noticef("bridge begin: originate_disposition:%s answered:%s ready:%s bridged:%s", session:getVariable("originate_disposition"), session:answered() and "true" or "false", session:ready() and "true" or "false", session:bridged() and "true" or "false") if (ring_group_strategy ~= "rollover") then if (session:getVariable("ring_group_send_presence") == "true") then + session:setVariable("presence_id", ring_group_extension.."@"..domain_name ); send_presence(uuid, ring_group_extension.."@"..domain_name, "early"); end session:execute("bridge", app_data);