After importing the dialplans generate the dialplan xml.
This commit is contained in:
parent
dc8f9146ba
commit
c60f2e492f
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
FusionPBX
|
FusionPBX
|
||||||
|
|
@ -418,6 +419,14 @@
|
||||||
$p->delete('dialplan_edit', 'temp');
|
$p->delete('dialplan_edit', 'temp');
|
||||||
$p->delete('dialplan_detail_add', 'temp');
|
$p->delete('dialplan_detail_add', 'temp');
|
||||||
$p->delete('dialplan_detail_edit', '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
|
} //foreach domains
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue