From d150f16b9d408b6239ad1fa232201b1ba65911a6 Mon Sep 17 00:00:00 2001 From: demonspork Date: Sat, 20 Feb 2021 00:17:01 -0600 Subject: [PATCH] Fixed "Failed" call status in CDR Re-implemented the commented out "Failed" call status SQL filter. It was no different than leaving the "Call status" search box empty. Removed the send_refuse restriction. --- app/xml_cdr/xml_cdr_inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/xml_cdr/xml_cdr_inc.php b/app/xml_cdr/xml_cdr_inc.php index 01b5a42f34..619a7455e4 100644 --- a/app/xml_cdr/xml_cdr_inc.php +++ b/app/xml_cdr/xml_cdr_inc.php @@ -453,7 +453,8 @@ ))"; } break; - default: //failed + default: + $sql .= "and (answer_stamp is null and bridge_uuid is null and duration = 0) "; //$sql .= "and (answer_stamp is null and bridge_uuid is null and billsec = 0 and sip_hangup_disposition = 'send_refuse') "; } }