[dialplan] Update XML for outbound dialplan (#7724)

This commit is contained in:
yois615
2026-01-28 11:33:14 -05:00
committed by GitHub
parent 04c995decd
commit e43e9e07bc

View File

@@ -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");