Outbound Route - Add: Disable dialplan if Enabled is false.
This commit is contained in:
parent
be678d2694
commit
a5e991a1f2
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
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.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -171,7 +171,7 @@
|
||||||
$gateway_3_name = '';
|
$gateway_3_name = '';
|
||||||
}
|
}
|
||||||
//set additional variables
|
//set additional variables
|
||||||
$dialplan_enabled = $_POST["dialplan_enabled"] ?? 'true';
|
$dialplan_enabled = $_POST["dialplan_enabled"] ?? 'false';
|
||||||
$dialplan_description = $_POST["dialplan_description"];
|
$dialplan_description = $_POST["dialplan_description"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1359,4 +1359,4 @@ function type_onchange(dialplan_detail_type) {
|
||||||
//show the footer
|
//show the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Loading…
Reference in New Issue