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:
parent
00526b4334
commit
17d35e6501
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue