Update xml_cdr.php

This commit is contained in:
FusionPBX
2025-06-05 10:20:43 -06:00
committed by GitHub
parent 5336b34a75
commit cfd862cf64

View File

@@ -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 {