From 06617e0c1ec6818cc00a384bc5e39087910e3a42 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 6 Apr 2021 13:25:36 -0600 Subject: [PATCH] Change effective_caller_id_name inline false The inline attribute breaks effective_caller_id_name. Changed inline attribute to false to fix the issue. --- app/destinations/destination_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++;