Page check destination status by default

This commit is contained in:
FusionPBX
2024-05-09 10:23:14 -06:00
committed by GitHub
parent 301a1f69a0
commit 50e0dd33e8
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
<action application="set" data="destinations=$1"/>
<action application="set" data="pin_number={v_pin_number}"/>
<action application="set" data="mute=true"/>
<action application="set" data="check_destination_status=false" enabled="false"/>
<action application="set" data="moderator=false" />
<action application="lua" data="page.lua"/>
</condition>

View File

@@ -110,7 +110,7 @@ if (referred_by == nil) then
--determine whether to check if the destination is available
check_destination_status = session:getVariable("check_destination_status");
if (not check_destination_status) then check_destination_status = 'false'; end
if (not check_destination_status) then check_destination_status = 'true'; end
--set the type of auto answer
auto_answer = session:getVariable("auto_answer");