Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 668
 
9-45
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 9      Agent Object
Methods
*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.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Values
Default CTI OS return values. See 
Remarks
A successful request will result in an OnAgentStateChanged event. It may also 
result in OnPreLogout, OnPostLogout, and/or OnLogoutFailed events. If this 
request is unsuccessful, the client receives an OnControlFailureConf event.
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.
Table 9-14 SetAgentState Parameters (continued)
Keyword
Type
Description