From 50e0dd33e8f853430d489ea8d699c1e9e1bfad91 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 9 May 2024 10:23:14 -0600 Subject: [PATCH] Page check destination status by default --- .../resources/switch/conf/dialplan/250_page-extension.xml | 1 + app/switch/resources/scripts/page.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/dialplans/resources/switch/conf/dialplan/250_page-extension.xml b/app/dialplans/resources/switch/conf/dialplan/250_page-extension.xml index 6c68f548e1..48e81c7f16 100644 --- a/app/dialplans/resources/switch/conf/dialplan/250_page-extension.xml +++ b/app/dialplans/resources/switch/conf/dialplan/250_page-extension.xml @@ -3,6 +3,7 @@ + diff --git a/app/switch/resources/scripts/page.lua b/app/switch/resources/scripts/page.lua index f587c2c60e..478ca9a411 100644 --- a/app/switch/resources/scripts/page.lua +++ b/app/switch/resources/scripts/page.lua @@ -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");