From a5e991a1f2f20cf80321d6ab5bc5cf374b320fe1 Mon Sep 17 00:00:00 2001 From: fusionate Date: Fri, 21 Jun 2024 10:17:54 -0600 Subject: [PATCH] Outbound Route - Add: Disable dialplan if Enabled is false. --- app/dialplan_outbound/dialplan_outbound_add.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index 3da4beca63..2208ba1151 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.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-2023 + Portions created by the Initial Developer are Copyright (C) 2008-2024 the Initial Developer. All Rights Reserved. Contributor(s): @@ -171,7 +171,7 @@ $gateway_3_name = ''; } //set additional variables - $dialplan_enabled = $_POST["dialplan_enabled"] ?? 'true'; + $dialplan_enabled = $_POST["dialplan_enabled"] ?? 'false'; $dialplan_description = $_POST["dialplan_description"]; } @@ -1359,4 +1359,4 @@ function type_onchange(dialplan_detail_type) { //show the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file