Add missed calls to CDR and CDR statistics.

This commit is contained in:
Mark Crane
2013-01-17 18:32:16 +00:00
parent ce1c49d909
commit 0dd2e848b4
5 changed files with 44 additions and 28 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ else {
}
//create the sql query to get the xml cdr records
if (strlen($order_by) == 0) { $order_by = "start_epoch"; }
if (strlen($order) == 0) { $order = "desc"; }
if (strlen($order_by) == 0) { $order_by = "start_epoch"; }
if (strlen($order) == 0) { $order = "desc"; }
//calculate the seconds in different time frames
$seconds_hour = 3600;