diff --git a/app/xml_cdr/xml_cdr.php b/app/xml_cdr/xml_cdr.php index 5599c23452..34f3d0409b 100644 --- a/app/xml_cdr/xml_cdr.php +++ b/app/xml_cdr/xml_cdr.php @@ -376,6 +376,9 @@ } //column headings echo " \n"; + if (permission_exists('xml_cdr_extension')) { + echo th_order_by('extension', $text['label-extension'], $order_by, $order, null, null, $param); + } if ($_REQUEST['show'] == "all" && permission_exists('xml_cdr_all')) { echo th_order_by('domain_name', $text['label-domain'], $order_by, $order, null, null, $param); $col_count++; @@ -503,6 +506,7 @@ echo " "; $xml_ids[] = 'checkbox_'.$row['xml_cdr_uuid']; } + //determine call result and appropriate icon echo "\n"; if ($theme_cdr_images_exist) { @@ -528,6 +532,12 @@ } else { echo " "; } echo "\n"; + //extension + if (permission_exists('xml_cdr_extension')) { + echo " "; + echo $row['extension'].' '; + echo " \n"; + } //domain name if ($_REQUEST['show'] == "all" && permission_exists('xml_cdr_all')) { echo " ";