Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
6-56
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 6 Event Interfaces and Events
IAgentEvents Interface
Parameters
args
Arguments array containing the following fields
Table 6-54
OnAgentInfoEvent Parameters
OnAgentStateChange
The OnAgentStateChange event is generated when the agent state at the ACD changes. This may be as
a response to a Login, Logout or SetAgentState request.
a response to a Login, Logout or SetAgentState request.
Syntax
C++:
void OnAgentStateChange(Arguments& args)
COM:
void OnAgentStateChange (IArguments * args)
VB:
session_OnAgentStateChange (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-55
OnAgentIStateChange Parameters
Keyword
Type
Description
UniqueObjectID
STRING
A unique object ID for the agent object
AgentLastName
STRING
Agent’s last name
AgentFirstName
STRING
Agent’s first name.
Keyword
Type
Description
PeripheralID
INT
The Unified ICM PeripheralID of the ACD where the agent state
change occurred.
change occurred.
PeripheralType
SHORT
The type of the peripheral.
AgentState
SHORT
One of the values in
of the associated agent.
SkillGroupNumber INT
The
number of the agent SkillGroup affected by the state change, as
known to the peripheral. May contain the special value
NULL_SKILL_GROUP when not applicable or not available.
NULL_SKILL_GROUP when not applicable or not available.
SkillGroupID
INT
The Unified ICM SkillGroupID of the agent SkillGroup affected by
the state change. May contain the special value NULL_SKILL_
GROUP when not applicable or not available.
the state change. May contain the special value NULL_SKILL_
GROUP when not applicable or not available.
StateDuration
INT
The number of seconds since the agent entered this state (typically
0).
0).