diff --git a/app/dialplan/dialplan_detail_delete.php b/app/dialplan/dialplan_detail_delete.php index f9f017ee0a..cb11984fc6 100644 --- a/app/dialplan/dialplan_detail_delete.php +++ b/app/dialplan/dialplan_detail_delete.php @@ -71,6 +71,13 @@ $switch_cmd = "memcache delete dialplan:".$_SESSION["context"]; $switch_result = event_socket_request($fp, 'api '.$switch_cmd); } + + //update the dialplan xml + $dialplans = new dialplan; + $dialplans->source = "details"; + $dialplans->destination = "database"; + $dialplans->uuid = $dialplan_uuid; + $dialplans->xml(); } //save the message to a session variable