mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Ring group presence add missing channel variable
without presence_id set freeswitch won't update any presence changes for a call
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user