Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
6-70
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
OnSetAgentModeEvent
The OnSetAgentModeEvent event indicates that the client has made a successful AgentMode 
connection.
Syntax
C++:
void OnSetAgentModeEvent (Arguments& args)
COM:
void OnSetAgentModeEvent (IArguments * args)
VB:
Session_OnSetAgentModeEvent (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
OnSetAgentStateConf
The OnSetAgentStateConf confirmation message is fired to the client to indicate that the SetAgentState 
request was received by the CTI Server. This confirmation message does not indicate that the agent has 
changed to the desired state; rather, the programmer should expect one or more OnAgentStateChange 
events to indicate the change of state.
Keyword
Type
Description
PeripheralID
STRING
ID of the ICM Peripheral ACD 
associated with the agent.
AgentID
STRING
The agent’s ID.
UniqueObject ID
STRING
The new unique object ID for the 
agent object.
ClientAgent 
TemporaryID
STRING
Temporary ID used before server 
passes the new unique object ID.
CIL ConnectionID
STRING
ID of the client’s connection on the 
server.
StatusSystem
ARGUMENTS
Arguments array containing the 
following elements:
StatusCTIServer
StatusCtiServerDriver
StatusCentralController
StatusPeripherals  (Arguments 
array with a peripheral id for 
each key and a boolean true/false 
value indicating if that 
peripheral is online)