CDR change direction to call_direction

This commit is contained in:
Mark Crane
2014-07-17 16:23:49 +00:00
parent 1d5d6e9e7a
commit 9808049c47
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ else {
unset($database->result);
$sell_price = $row['call_sell'];
$lcr_direction = (strlen($row['direction'])?$row['direction']:"outbound");
$lcr_direction = (strlen($row['call_direction'])?$row['call_direction']:"outbound");
$n = (($lcr_direction == "inbound")?$row['caller_id_number']:$row['destination_number']);
$database->table = "v_lcr";