Cisco Cisco Computer Telephony Integration Option 8.5 개발자 가이드

다운로드
페이지 640
9-3
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 9      Agent Object
Agent Statistics
*The CTI OS server imposes no restriction on the maximum length of this string. 
However, such restrictions are generally imposed by your switch/ACD 
and Cisco CTI Server. 
Consult the documentation for the switch/ACD or CTI 
Server for information on length restrictions for this string.
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.