From cfd862cf643b515919b4688e5c04c834d57e7b26 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 5 Jun 2025 10:20:43 -0600 Subject: [PATCH] Update xml_cdr.php --- 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 cd4772763f..748fd0baa5 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -1272,7 +1272,7 @@ //get the application array if (!empty($destination_array) && !empty($row["caller_profile"]["destination_number"])) { - if ($this->call_direction == 'outbound') { + if ($this->call_direction == 'outbound' && !empty($row["caller_profile"]["username"])) { $app = $this->find_app($destination_array, urldecode($row["caller_profile"]["username"])); } else {