Does anyone know if it possible to report on the actual time an agent has logged in?
In the Tserver log files below we can see the agent has logged in at 09:03:40 - how can this be translated into a report. There is the login time statistic which will give me total amount of time the agent has been logged in? The example below is from an Alcatel 4400 handset but moving forward we will be using GAD/Genesys/Avaya.
It’s possible, the question is how do you wanna report.
• U can see the Login Time in CCpulse of course
• U can write a sql query, just adding the count of active states in RESOURCE_STATE_FACT, which should result in the total login time:
sum(CASE WHEN rsf.resource_state_key = 1 THEN rsf.total_duration ELSE 0 END) waiting_fnc,
sum(CASE WHEN rsf.resource_state_key = 2 THEN rsf.total_duration ELSE 0 END) offhook,
sum(CASE WHEN rsf.resource_state_key = 3 THEN rsf.total_duration ELSE 0 END) dialing,
sum(CASE WHEN rsf.resource_state_key = 4 THEN rsf.total_duration ELSE 0 END) ringing,
sum(CASE WHEN rsf.resource_state_key = 5 THEN rsf.total_duration ELSE 0 END) notready_fnc,
sum(CASE WHEN rsf.resource_state_key = 6 THEN rsf.total_duration ELSE 0 END) aftercallwork,
sum(CASE WHEN rsf.resource_state_key = 7 THEN rsf.total_duration ELSE 0 END) onhold,
sum(CASE WHEN rsf.resource_state_key = 8 THEN rsf.total_duration ELSE 0 END) callunknown,
sum(CASE WHEN rsf.resource_state_key = 9 THEN rsf.total_duration ELSE 0 END) callConsult,
sum(CASE WHEN rsf.resource_state_key = 10 THEN rsf.total_duration ELSE 0 END) callinternal,
sum(CASE WHEN rsf.resource_state_key = 11 THEN rsf.total_duration ELSE 0 END) calloutbound,
sum(CASE WHEN rsf.resource_state_key = 12 THEN rsf.total_duration ELSE 0 END) callinbound
Have i understood it right or did u mean something else?
Check statserver documentation, on your StatServer enable the option login-table to true, and then you need to create a table in some DB with the scripts that comes with the StatServer and add a DAP and DBServer so you add those to your StatServer and it will begin to store such information in that table.
You will also need to convert the UTC time (number of seconds past 01/01/1970 00:00:00) to something legible… If you have Hyperion or BO or you need a PL SQL decode…