Merge pull request #1404 from moteus/dialplan_copy_app_uuid
Fix. Copy dialplan extension with correct `add_uuid` for outbound route.
This commit is contained in:
@@ -79,9 +79,9 @@ else {
|
|||||||
|
|
||||||
//create a new app_uuid when copying a dialplan except for these exceptions
|
//create a new app_uuid when copying a dialplan except for these exceptions
|
||||||
switch ($app_uuid) {
|
switch ($app_uuid) {
|
||||||
case "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4": //inbound routes
|
case "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4": break; //inbound routes
|
||||||
case "8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3": //outbound routes
|
case "8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3": break; //outbound routes
|
||||||
case "4b821450-926b-175a-af93-a03c441818b1": //time conditions
|
case "4b821450-926b-175a-af93-a03c441818b1": break; //time conditions
|
||||||
default:
|
default:
|
||||||
$app_uuid = uuid();
|
$app_uuid = uuid();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user