After importing the dialplans generate the dialplan xml.

This commit is contained in:
FusionPBX 2020-12-14 18:00:04 -07:00 committed by GitHub
parent dc8f9146ba
commit c60f2e492f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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
}