From eb7dec52a1f1b362affc14628baa8ea00d03315d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 29 Sep 2016 13:10:35 -0600 Subject: [PATCH] Update app_defaults.php --- app/dialplan/app_defaults.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/dialplan/app_defaults.php b/app/dialplan/app_defaults.php index c8105632e9..6ac1e32096 100644 --- a/app/dialplan/app_defaults.php +++ b/app/dialplan/app_defaults.php @@ -93,6 +93,16 @@ unset($sql); } +//add xml for each dialplan where the dialplan xml is empty + if ($domains_processed == 1) { + $dialplans = new dialplan; + $dialplans->source = "details"; + $dialplans->destination = "database"; + $dialplans->is_empty = "dialplan_xml"; + $array = $dialplans->xml(); + //print_r($array); + } + //add not found dialplan to inbound routes /* if ($domains_processed == 1) { @@ -125,4 +135,5 @@ } } */ + ?>