Cisco Cisco Computer Telephony Integration Option 9.0 开发者指南

下载
页码 546
 
9-3
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 9      Agent Object
Agent Statistics
Agent Statistics
Statistics can be accessed by first using GetValueArray on the Agent object to 
obtain the “Statistics” arguments array and then using GetValueInt on the 
“Statistics” arguments array to obtain the desired value:
' First get the statistics arguments
Dim args As Arguments
args = agent.GetValueArray (“Statistics”)
‘ Then get the desired statistics
Dim availTimeSession As Integer
Dim loggedOnTimeSession As Integer
availTimeSession = args.GetValueInt(“AvailTimeSession”)
bargeInCallsToday = args.GetValueInt(“BargeInCallsToday”)
Note
Not all the statistics values listed in 
 are present in every system 
configuration. Whether or not a particular statistic value is available 
depends both on the protocol version of CTI Server with which CTI OS 
connects and on the peripheral on which the agent resides.
Table 9-2
Agent Statistics
Statistic
Definition
AvailTime  Session
Total time, in seconds, the agent was in the 
Available state for any skill group.
LoggedOnTime Session
Total time, in seconds, the agent has been 
logged on.
NotReadyTime  Session
Total time, in seconds, the agent was in the 
Not Ready state for all skill groups.
ICMAvailable  TimeSession
Total time, in seconds, the agent was in the 
ICM Available state.
RoutableTime  Session
Total time, in seconds, the agent was in the 
Routable state for all skill groups.
AgentOutCalls Session
Total number of completed outbound 
ACD calls made by agent.