Add sip_call_id to the xml cdr SQL select.

This commit is contained in:
FusionPBX 2021-07-31 19:28:59 -06:00 committed by GitHub
parent 4da962e4e0
commit 287869d71f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -232,6 +232,7 @@
//get the results from the db
$sql = "select \n";
$sql .= "c.domain_uuid, \n";
$sql .= "c.sip_call_id, \n";
$sql .= "e.extension, \n";
$sql .= "c.start_stamp, \n";
$sql .= "c.end_stamp, \n";
@ -563,9 +564,9 @@
}
}
$sql = str_replace(" ", " ", $sql);
//echo $sql;
//print_r($parameters);
//exit;
//echo $sql;
//print_r($parameters);
//exit;
$database = new database;
if ($archive_request && $_SESSION['cdr']['archive_database']['boolean'] == 'true') {
$database->driver = $_SESSION['cdr']['archive_database_driver']['text'];