Fix cache delete for global dialplans

This commit is contained in:
Greenbea
2020-11-05 11:29:41 -05:00
parent 704a1eb5e5
commit 6770d15b3c
2 changed files with 10 additions and 5 deletions
+3
View File
@@ -267,6 +267,9 @@
//clear the cache
$cache = new cache;
if ($dialplan_context == "\${domain_name}") {
$dialplan_context = "*";
}
$cache->delete("dialplan:".$dialplan_context);
//set the message