Update xml_cdr_details.php

This commit is contained in:
FusionPBX 2023-10-18 21:28:01 -06:00 committed by GitHub
parent 6ce57690ee
commit 82f82bd87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,7 @@
}
}
}
//find all other matching actions
if ($value['extension'] == $detail_action) {
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/".$application."/app_languages.php")) {
@ -219,6 +219,7 @@
//build the call flow summary array
$xml_cdr = new xml_cdr;
$xml_cdr->call_direction = $call_direction;
$xml_cdr->billsec = $billsec;
if (empty($call_flow)) {
$xml_cdr->call_details = $array;
$call_flow_array = $xml_cdr->call_flow();