Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
Chapter 9      Agent Object
Methods
9-44
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Input Parameters
args
Input parameter in the form of an Arguments array that contains one or more 
of the SetAgentState parameters listed in 
.
Table 9-14 SetAgentState Parameters 
Keyword
Type
Description
AgentState (required)
INT
The state to which to set the specified 
agent. The value of this field must be 
one of the values in 
.
AgentID (required)
STRING
*
The agent’s login ID.
AgentInstrument
STRING
*
The agent’s instrument number. 
Optional if Agent Extension is 
provided.
PositionID
STRING
*
Required for Alcatel only.
AgentPassword 
(optional)
STRING
*
The agent’s password.
AgentWorkMode 
(optional)
INT
A value representing the desired work 
mode of the agent. Used by Avaya 
DEFINITY ECS with default value of 
ManualIn.
NumSkillGroups 
(optional)
INT
The number of Skill Groups that the 
agent is currently associated with, up to 
a maximum of 20. 
EventReasonCode 
(optional)
INT
Reason for logging out. Required for 
IPCC, optional for all other switches.
PeripheralID 
(optional)
INT
The ICM Peripheral ID of the ACD the 
agent is attached to.
SkillGroupNumber 
(optional)
INT
The number of an agent skill group 
associated with the agent.
SkillGroupPriority 
(optional)
INT
The priority of an agent skill group 
associated with the agent.