mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update xml_cdr.php
This commit is contained in:
@@ -676,7 +676,7 @@ if (!class_exists('xml_cdr')) {
|
|||||||
$sql .= " or \n";
|
$sql .= " or \n";
|
||||||
$sql .= " (e.number_alias is not null and (caller_id_number = e.number_alias or destination_number = e.number_alias))\n";
|
$sql .= " (e.number_alias is not null and (caller_id_number = e.number_alias or destination_number = e.number_alias))\n";
|
||||||
$sql .= ")\n";
|
$sql .= ")\n";
|
||||||
$sql .= "and (answer_stamp is not null and bridge_uuid is null) \n";
|
$sql .= "and (answer_stamp is null and bridge_uuid is null) \n";
|
||||||
$sql .= "and direction = 'inbound' \n";
|
$sql .= "and direction = 'inbound' \n";
|
||||||
if (!$this->include_internal) {
|
if (!$this->include_internal) {
|
||||||
$sql .= " and (direction = 'inbound' or direction = 'outbound') \n";
|
$sql .= " and (direction = 'inbound' or direction = 'outbound') \n";
|
||||||
|
|||||||
Reference in New Issue
Block a user