Use the call direction from the xml_cdr table

This commit is contained in:
FusionPBX 2023-08-25 16:13:02 -06:00 committed by GitHub
parent 85f6793a41
commit 88169f9e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,6 +63,7 @@
$start_stamp = trim($row["start_stamp"]);
$xml_string = trim($row["xml"] ?? '');
$json_string = trim($row["json"]);
$direction = trim($row["direction"]);
}
unset($sql, $parameters, $row);
@ -131,7 +132,6 @@
//detail summary
//get the variables
$xml_cdr_uuid = urldecode($array["variables"]["uuid"]);
$direction = urldecode($array["variables"]["call_direction"]);
$language = urldecode($array["variables"]["language"] ?? '');
$start_epoch = urldecode($array["variables"]["start_epoch"]);
$start_stamp = urldecode($array["variables"]["start_stamp"]);