diff --git a/app/conferences/conference_edit.php b/app/conferences/conference_edit.php index 45d60e7d59..c87d4ea371 100644 --- a/app/conferences/conference_edit.php +++ b/app/conferences/conference_edit.php @@ -205,7 +205,7 @@ $array['dialplans'][0]['app_uuid'] = 'b81412e8-7253-91f4-e48e-42fc2c9a38d9'; $array['dialplans'][0]['dialplan_xml'] = $dialplan_xml; $array['dialplans'][0]['dialplan_order'] = '333'; - $array['dialplans'][0]['dialplan_context'] = $_SESSION['context']; + $array['dialplans'][0]['dialplan_context'] = $_SESSION['domain_name']; $array['dialplans'][0]['dialplan_enabled'] = $conference_enabled; $array['dialplans'][0]['dialplan_description'] = $conference_description; @@ -241,7 +241,7 @@ //clear the cache $cache = new cache; - $cache->delete("dialplan:".$_SESSION["context"]); + $cache->delete("dialplan:".$_SESSION["domain_name"]); //redirect the browser header("Location: conferences.php");