Change the dialplan context to the domain name.

This commit is contained in:
Mark Crane
2015-03-10 10:21:43 +00:00
parent 245c43ddb5
commit 3cd71946f2

View File

@@ -120,7 +120,7 @@
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_order = $dialplan_order;
$dialplan->default_context = $context;
$dialplan->default_context = $domain_name;
if ($display_type == "text") {
$dialplan->display_type = 'text';
}