mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
After importing the dialplans generate the dialplan xml.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
@@ -418,6 +419,14 @@
|
||||
$p->delete('dialplan_edit', 'temp');
|
||||
$p->delete('dialplan_detail_add', 'temp');
|
||||
$p->delete('dialplan_detail_edit', 'temp');
|
||||
|
||||
//add dialplan xml when the dialplan_xml is null
|
||||
$this->source = 'details';
|
||||
$this->destination = 'database';
|
||||
$this->context = $domain['domain_name'];
|
||||
$this->is_empty = 'dialplan_xml';
|
||||
$this->xml();
|
||||
|
||||
} //foreach domains
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user