some changes to queue_log logging

added inbound call stats option to Realtime timeonVDAD screen

git-svn-id: svn://192.168.202.10@984 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-10-22 19:01:25 +00:00
parent 96969d6cd6
commit eba30cbe3e
7 changed files with 382 additions and 64 deletions
@@ -1229,6 +1229,9 @@ if ($enable_queuemetrics_logging > 0)
$stmtB = "INSERT INTO queue_log SET partition='P01',time_id='$now_date_epoch',call_id='$callerid',queue='$VDADcampaign',agent='NONE',verb='EXITWITHTIMEOUT',data1='1',serverid='$queuemetrics_log_id';";
$Baffected_rows = $dbhB->do($stmtB);
$stmtB = "INSERT INTO queue_log SET partition='P01',time_id='$now_date_epoch',call_id='$callerid',queue='$VDADcampaign',agent='NONE',verb='CALLSTATUS',data1='DROP',serverid='$queuemetrics_log_id';";
$Baffected_rows = $dbhB->do($stmtB);
$dbhB->disconnect();
}