From aa076b8310946ec0966d040d08b1c4821ed3c8bf Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 18 Jun 2012 10:31:59 +0000 Subject: [PATCH] Added percentages to real-time report carrier stats Added call time restrictions to the inbound daily report Fixed a small logging bug for manual dial phone calls in vdc_db_query.php Added commented-out body tag to zoiperweb.php for thin webbar version Small bug fix in cm_lookup.agi git-svn-id: svn://192.168.202.10@1830 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/agi/cm_lookup.agi | 2 +- agc_2-X/trunk/www/agc/vdc_db_query.php | 3 +- agc_2-X/trunk/www/agc/webphone/zoiperweb.php | 1 + .../www/vicidial/AST_inbound_daily_report.php | 621 ++++++++++++++---- .../trunk/www/vicidial/AST_timeonVDADall.php | 32 +- 5 files changed, 523 insertions(+), 136 deletions(-) diff --git a/agc_2-X/trunk/agi/cm_lookup.agi b/agc_2-X/trunk/agi/cm_lookup.agi index 15242dbb..80247204 100644 --- a/agc_2-X/trunk/agi/cm_lookup.agi +++ b/agc_2-X/trunk/agi/cm_lookup.agi @@ -474,7 +474,7 @@ if ($sthArows > 0) } if ($uniqueid_address3 =~ /Y/) {$uniqueid_address3_SQL = ",address3='$uniqueid'";} - if ( (length($call_var_title) > 1) && ($title_update =~ /Y/i) ) + if ( (length($call_var_title) > 0) && ($title_update =~ /Y/i) ) {$title_update_SQL = ",title='$call_var_title'";} if (length($agent_user_id) > 1) { diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php index cb916347..f404ae3e 100644 --- a/agc_2-X/trunk/www/agc/vdc_db_query.php +++ b/agc_2-X/trunk/www/agc/vdc_db_query.php @@ -2549,7 +2549,7 @@ if ($ACTION == 'manDiaLnextCaLL') } ### Skip logging and list overrides if dial in-group is used - if (strlen($dial_ingroup) > 1) + if (strlen($dial_ingroup) < 1) { $val_pause_epoch=0; $val_pause_sec=0; @@ -2590,6 +2590,7 @@ if ($ACTION == 'manDiaLnextCaLL') } ##### END QUEUEMETRICS LOGGING LOOKUP ##### ########################################### + if ($enable_queuemetrics_logging > 0) { $data4SQL=''; diff --git a/agc_2-X/trunk/www/agc/webphone/zoiperweb.php b/agc_2-X/trunk/www/agc/webphone/zoiperweb.php index d19e55af..fa11bba5 100644 --- a/agc_2-X/trunk/www/agc/webphone/zoiperweb.php +++ b/agc_2-X/trunk/www/agc/webphone/zoiperweb.php @@ -58,6 +58,7 @@ if ($b64_protocol != 'SIP') Zoiper web +