diff --git a/resources/classes/destinations.php b/resources/classes/destinations.php index c46e7e0e71..2aa9de8a04 100644 --- a/resources/classes/destinations.php +++ b/resources/classes/destinations.php @@ -564,6 +564,9 @@ if (!class_exists('destinations')) { $p->delete('dialplan_delete', 'temp'); $p->delete('dialplan_detail_delete', 'temp'); + //synchronize the xml config + save_dialplan_xml(); + //clear the cache if (is_array($destination_contexts) && @sizeof($destination_contexts) != 0) { $destination_contexts = array_unique($destination_contexts);