diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index 0da14b2169..038c8d37a0 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -416,7 +416,7 @@ $array['dialplans'][$x]['dialplan_details'][$y]['domain_uuid'] = $_SESSION['domain_uuid']; $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_uuid'] = $dialplan_uuid; $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_tag'] = 'action'; - $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_type'] = 'set'; + $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_type'] = 'export'; $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_data'] = 'call_direction=outbound'; $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_order'] = $y * 10; $array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0'; diff --git a/app/dialplans/resources/classes/dialplan.php b/app/dialplans/resources/classes/dialplan.php index a7ed1222db..6299ba5af9 100644 --- a/app/dialplans/resources/classes/dialplan.php +++ b/app/dialplans/resources/classes/dialplan.php @@ -835,7 +835,7 @@ include "root.php"; } } //add the call direction and domain name and uuid - $xml .= " \n"; + $xml .= " \n"; if ($domain_uuid != null and $domain_uuid != '') { $domain_name = $domains[$domain_uuid]; $xml .= " \n"; diff --git a/app/dialplans/resources/switch/conf/dialplan/020_call_direction.xml b/app/dialplans/resources/switch/conf/dialplan/020_call_direction.xml index f7fea2abb7..3e8f557acd 100644 --- a/app/dialplans/resources/switch/conf/dialplan/020_call_direction.xml +++ b/app/dialplans/resources/switch/conf/dialplan/020_call_direction.xml @@ -1,7 +1,7 @@ - + \ No newline at end of file