From 1bc8f1798ee5da1ed2b9dbb8ffeedf182bfaf70d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 23 Jul 2025 15:32:20 -0600 Subject: [PATCH] Update xml_cdr.php Remove billsec greater than 0. The reason is that a call maybe answered to play a greeting. Bridged is a better option because the call has a second leg. --- app/xml_cdr/resources/classes/xml_cdr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 82b2836c38..5526f2caa0 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -549,8 +549,8 @@ //ring group or multi destination bridge statement $missed_call = 'false'; } - if (isset($xml->variables->billsec) && $xml->variables->billsec > 0) { - //answered call + if (isset($xml->variables->bridge_uuid) && !empty($xml->variables->bridge_uuid)) { + //call was bridged $missed_call = 'false'; } if (isset($xml->variables->cc_side) && $xml->variables->cc_side == 'member'