Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
9-3
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
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:
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
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.
depends both on the protocol version of CTI Server with which CTI OS
connects and on the peripheral on which the agent resides.
SavedAgentID
STRING
On Spectrum, contains the user
provided data for the agent specified by
the AgentID property. On all other
switches, this property is identical to
the AgentID property.
provided data for the agent specified by
the AgentID property. On all other
switches, this property is identical to
the AgentID property.
Statistics
ARGUMENTS An arguments array containing the
statistics listed in
Table 9-1
Agent Properties (continued)
Keyword
Type
Description