From 6d536ce4d7621296e62c1072b73b228953464942 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 15 Jun 2021 12:53:46 -0600 Subject: [PATCH] Add more to the missed call check Only count as a missed call if the bridge_uuid has a length. --- app/xml_cdr/resources/classes/xml_cdr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index f5d5b4e7ad..d05f8ac22a 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -346,7 +346,7 @@ if (!class_exists('xml_cdr')) { if ($xml->variables->missed_call == 'true') { $missed_call = 'true'; } - if ($xml->variables->voicemail_action == "save"){ + if ($xml->variables->voicemail_action == "save" && strlen($xml->variables->bridge_uuid) > 0) { $missed_call = 'true'; }