diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 7231204d62..1b0dd65354 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -323,7 +323,7 @@ $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; if (strlen($destination_cid_name_prefix) > 0) { - $dialplan["dialplan_xml"] .= " \n"; + $dialplan["dialplan_xml"] .= " \n"; } if (strlen($destination_record) > 0 && $destination_record == 'true') { $dialplan["dialplan_xml"] .= " \n"; @@ -429,7 +429,7 @@ $dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action"; $dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "set"; $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "effective_caller_id_name=".$destination_cid_name_prefix."#\${caller_id_name}"; - $dialplan["dialplan_details"][$y]["dialplan_detail_inline"] = "true"; + $dialplan["dialplan_details"][$y]["dialplan_detail_inline"] = "false"; $dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order; $y++;