From 4ecb7cd16293c4b7644bbad767f0cf2a792d180e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 16 Jan 2026 09:20:48 -0700 Subject: [PATCH] Add answered_inbound and answered_outbound --- app/xml_cdr/xml_cdr_extension_summary.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/app/xml_cdr/xml_cdr_extension_summary.php b/app/xml_cdr/xml_cdr_extension_summary.php index d509eabb7f..5ae5ed58ea 100644 --- a/app/xml_cdr/xml_cdr_extension_summary.php +++ b/app/xml_cdr/xml_cdr_extension_summary.php @@ -215,7 +215,15 @@ if (permission_exists('number_alias')) { echo " ".$text['label-number_alias']."\n"; } - echo " ".$text['label-answered']."\n"; + if (permission_exists('xml_cdr_answered')) { + echo " ".$text['label-answered']."\n"; + } + if (permission_exists('xml_cdr_answered_inbound')) { + echo " ".$text['label-answered_inbound']."\n"; + } + if (permission_exists('xml_cdr_answered_outbound')) { + echo " ".$text['label-answered_outbound']."\n"; + } echo " ".$text['label-missed']."\n"; echo " ".$text['label-voicemail']."\n"; echo " ".$text['label-no_answer']."\n"; @@ -238,7 +246,15 @@ if (permission_exists('number_alias')) { echo " ".escape($row['number_alias'])." \n"; } - echo " ".escape($row['answered'])." \n"; + if (permission_exists('xml_cdr_answered')) { + echo " ".escape($row['answered'])." \n"; + } + if (permission_exists('xml_cdr_answered_inbound')) { + echo " ".escape($row['answered_inbound'])." \n"; + } + if (permission_exists('xml_cdr_answered_outbound')) { + echo " ".escape($row['answered_outbound'])." \n"; + } echo " ".escape($row['missed'])." \n"; echo " ".escape($row['voicemail'])." \n"; echo " ".escape($row['no_answer'])." \n";