From ecdbc1b8be6e6a8470951a2f0cfcdc91d62de629 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 27 Jan 2022 00:08:41 -0700 Subject: [PATCH] Set the extension dial_string to null when the value is user_busy. --- app/extensions/app_defaults.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/extensions/app_defaults.php b/app/extensions/app_defaults.php index e99ffa02c7..a13f5c4aa9 100644 --- a/app/extensions/app_defaults.php +++ b/app/extensions/app_defaults.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2019 + Portions created by the Initial Developer are Copyright (C) 2008-2022 the Initial Developer. All Rights Reserved. Contributor(s): @@ -91,6 +91,11 @@ $database->execute($sql); unset($sql); } + + //do not disturb no longer uses the extension dial_string set the value to null + $sql = "update v_extensions set dial_string = null where (dial_string = '!USER_BUSY' or dial_string = 'error/user_busy');\n"; + $database->execute($sql); + unset($sql); }