diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 0e74734474..d9e640a8d4 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -164,7 +164,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $dialplan["dialplan_name"] = format_phone($destination_number); $dialplan["dialplan_number"] = $destination_number; $dialplan["dialplan_context"] = $destination_context; - $dialplan["dialplan_continue"] = "true"; + $dialplan["dialplan_continue"] = "false"; $dialplan["dialplan_order"] = "100"; $dialplan["dialplan_enabled"] = $destination_enabled; $dialplan["dialplan_description"] = $destination_description; diff --git a/app/dialplan_inbound/dialplan_inbound_add.php b/app/dialplan_inbound/dialplan_inbound_add.php index e617ac58d8..df4b8643c7 100644 --- a/app/dialplan_inbound/dialplan_inbound_add.php +++ b/app/dialplan_inbound/dialplan_inbound_add.php @@ -158,6 +158,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "dialplan_uuid, "; $sql .= "app_uuid, "; $sql .= "dialplan_name, "; + $sql .= "dialplan_continue, "; $sql .= "dialplan_order, "; $sql .= "dialplan_context, "; $sql .= "dialplan_enabled, "; @@ -169,6 +170,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "'$dialplan_uuid', "; $sql .= "'c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4', "; $sql .= "'$dialplan_name', "; + $sql .= "'false', "; $sql .= "'$public_order', "; $sql .= "'public', "; $sql .= "'$dialplan_enabled', ";