Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
9-2
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(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:
' First get the statistics arguments
Dim args As Arguments
args = agent.GetValueArray (“Statistics”)
‘ Then get the desired statistics
Dim availTimeSession As Integer
AgentInstrument 
STRING
*
Instrument associated by ACD to agent.
AgentRemote Number
STRING
The phone number that the agent uses for remote login.
AgentState
SHORT
One of the values in 
 representing the current state 
of the associated agent.
ClassIdentifier
INT
Identifies the type of this object.
SilentMonitorCallUID
STRING
The unique object ID of the silent monitor call. This is the 
call that results from calling SuperviseCall() with the 
SupervisorAction set to eSupervisorMonitor.
Note
Only applies to CCM based silent monitor.
SilentMonitorTargetAg
entUID
STRING
This property contains the unique object ID of the agent who 
the supervisor is currently silent monitoring.
Note
Only applies to CCM based silent monitor.
Extension
Extension associated by ACD to agent.
CurrentConnection 
Profile
STRING
The last selected agent connection profile.
IsSupervisor
INT
Indicates whether this agent is a supervisor.
LastError
INT
Last error code, if any. Otherwise this value is 0.
PeripheralID  
INT
ID of peripheral.
PeripheralType 
INT
The type of the peripheral.
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.
Statistics
ARGUMENTS  An arguments array containing the statistics listed in 
.
Keyword
Type
Description