diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 12ca5f4032..f2963dd56a 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -1448,6 +1448,7 @@ $text2 = $language2->get($this->settings->get('domain', 'language'), 'app/'.($app['application'] ?? '')); $call_flow_summary[$x]["application_name"] = ($app['application'] ?? ''); $call_flow_summary[$x]["application_label"] = trim($text2['title-'.($app['application'] ?? '')] ?? ''); + $call_flow_summary[$x]["application_icon"] = array("call_centers" => "fa-headset", "call_flows" => "fa-share-nodes", "conferences" => "fa-comments", "destinations" => "fa-right-to-bracket", "dialplans" => "fa-right-left", "extensions" => "fa-suitcase", "ivr_menus" => "fa-diagram-project", "ring_groups" => "fa-users", "time_conditions" => "fa-clock", "voicemails" => "fa-envelope"); $call_flow_summary[$x]["call_direction"] = $this->call_direction; $call_flow_summary[$x]["application_url"] = $application_url; diff --git a/app/xml_cdr/xml_cdr_details.php b/app/xml_cdr/xml_cdr_details.php index 294c9a4ffd..a4b39d41a5 100644 --- a/app/xml_cdr/xml_cdr_details.php +++ b/app/xml_cdr/xml_cdr_details.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2024 + Portions created by the Initial Developer are Copyright (C) 2008-2025 the Initial Developer. All Rights Reserved. Contributor(s): @@ -434,6 +434,7 @@ if ($summary_style == 'horizontal') { echo "
\n"; echo "\n"; + echo "\n"; echo "\n"; //echo "\n"; //echo "\n"; @@ -449,6 +450,16 @@ echo "\n"; echo "\n"; echo "\n"; + echo " \n"; echo " \n"; //echo " \n"; //echo " \n"; @@ -499,6 +510,7 @@ echo "
\n"; echo "
".$text['label-direction']."LanguageContext".$text['label-status']."
\n"; + if (!empty($call_direction)) { + $image_name = "icon_cdr_" . $call_direction . "_" . $status; + if ($row['leg'] == 'b') { + $image_name .= '_b'; + } + $image_name .= ".png"; + echo " \n"; + } + echo " ".escape($direction)."".$language."".$context."
\n"; echo " \n"; + echo " \n"; echo " \n"; if ($call_direction == 'local' || $call_direction == 'outbound') { echo " \n"; @@ -512,7 +524,8 @@ echo " \n"; $i = 1; foreach ($call_flow_summary as $row) { - echo " \n"; + echo " \n"; + echo " "; echo " \n"; if ($call_direction == 'local' || $call_direction == 'outbound') { echo " \n";
".$text['label-application']."".$text['label-source']."
".escape($row["application_label"])."".escape($row["source_number"])."