From 7ba3fd49c5e88ca3bebbc02cd84f5f5dda1e13a3 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 7 Mar 2019 16:37:47 -0700 Subject: [PATCH] Update app_defaults.php --- app/dialplans/app_defaults.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/dialplans/app_defaults.php b/app/dialplans/app_defaults.php index 2a7a1c0e6d..ad16a69f49 100644 --- a/app/dialplans/app_defaults.php +++ b/app/dialplans/app_defaults.php @@ -123,6 +123,14 @@ $array = $dialplans->xml(); } +//delete the follow me bridge dialplan + if ($domains_processed == 1) { + $sql = "delete from v_dialplan_details where dialplan_uuid = '8ed73d1f-698f-466c-8a7a-1cf4cd229f7f' "; + $db->query($sql); + $sql = "delete from v_dialplans where dialplan_uuid = '8ed73d1f-698f-466c-8a7a-1cf4cd229f7f' "; + $db->query($sql); + } + //add not found dialplan to inbound routes /* if ($domains_processed == 1) {