mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-29 12:09:18 +00:00
[dialplan] Update XML for outbound dialplan (#7724)
This commit is contained in:
@@ -500,6 +500,9 @@
|
||||
$y++;
|
||||
$x++;
|
||||
|
||||
// save this UUID so we can refresh the XML later
|
||||
$dialplan_uuid_outbound = $dialplan_uuid;
|
||||
|
||||
//set the uuid
|
||||
$dialplan_uuid = uuid();
|
||||
|
||||
@@ -860,6 +863,13 @@
|
||||
$dialplans->uuid = $dialplan_uuid;
|
||||
$dialplans->xml();
|
||||
|
||||
// Update the outbound variable dialplan
|
||||
$dialplans = new dialplan;
|
||||
$dialplans->source = "details";
|
||||
$dialplans->destination = "database";
|
||||
$dialplans->uuid = $dialplan_uuid_outbound;
|
||||
$dialplans->xml();
|
||||
|
||||
//remove the temporary permission
|
||||
$p->delete("dialplan_add", "temp");
|
||||
$p->delete("dialplan_detail_add", "temp");
|
||||
|
||||
Reference in New Issue
Block a user