Outbound Route - Add: Disable dialplan if Enabled is false.

This commit is contained in:
fusionate
2024-06-21 10:17:54 -06:00
parent be678d2694
commit a5e991a1f2

View File

@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
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";
?>
?>