Руководство Разработчика для Cisco Cisco Computer Telephony Integration Option 9.0
9-2
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
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.
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
You can access statistics 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:
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
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.
call that results from calling SuperviseCall() with the
SupervisorAction set to eSupervisorMonitor.
Note
Only applies to Cisco Unified Communications
Manager based silent monitor.
Manager based silent monitor.
SilentMonitorTargetAg
entUID
entUID
STRING
This property contains the unique object ID of the agent who
the supervisor is currently silent monitoring.
the supervisor is currently silent monitoring.
Note
Only applies to Cisco Unified Communications
Manager based silent monitor.
Manager based silent monitor.
Extension
Extension associated by ACD to agent.
CurrentConnection
Profile
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.
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