From 0c91ac4febe74ba0f252106d7894b34bc7c13ae2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 14 Oct 2021 01:02:00 -0600 Subject: [PATCH] Don't use the extension dial_string to set the phone on DND. --- app/scripts/resources/scripts/do_not_disturb.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/scripts/resources/scripts/do_not_disturb.lua b/app/scripts/resources/scripts/do_not_disturb.lua index c7b6c115fa..398e2cc076 100644 --- a/app/scripts/resources/scripts/do_not_disturb.lua +++ b/app/scripts/resources/scripts/do_not_disturb.lua @@ -172,11 +172,9 @@ sql = "update v_extensions set "; if (enabled == "true") then sql = sql .. "follow_me_enabled = 'false', "; - sql = sql .. "dial_string = '!USER_BUSY', "; sql = sql .. "do_not_disturb = 'true', "; sql = sql .. "forward_all_enabled = 'false' "; else - sql = sql .. "dial_string = null, "; sql = sql .. "do_not_disturb = 'false' "; end sql = sql .. "where domain_uuid = :domain_uuid ";