Update fifo_add.php
Change session context to domain_name.
This commit is contained in:
parent
e9b962a8e2
commit
281979721c
|
|
@ -103,7 +103,7 @@
|
||||||
$queue_name = $extension_name."@\${domain_name}";
|
$queue_name = $extension_name."@\${domain_name}";
|
||||||
$app_uuid = '16589224-c876-aeb3-f59f-523a1c0801f7';
|
$app_uuid = '16589224-c876-aeb3-f59f-523a1c0801f7';
|
||||||
$dialplan_uuid = uuid();
|
$dialplan_uuid = uuid();
|
||||||
$dialplan_context = $_SESSION['context'];
|
$dialplan_context = $_SESSION['domain_name'];
|
||||||
$domain_uuid = $_SESSION['domain_uuid'];
|
$domain_uuid = $_SESSION['domain_uuid'];
|
||||||
$dialplan_detail_order = 0;
|
$dialplan_detail_order = 0;
|
||||||
|
|
||||||
|
|
@ -406,7 +406,7 @@
|
||||||
|
|
||||||
//clear the cache
|
//clear the cache
|
||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
$cache->delete("dialplan:".$_SESSION["context"]);
|
$cache->delete("dialplan:".$_SESSION["domain_name"]);
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
message::add($text['message-add']);
|
message::add($text['message-add']);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue