Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
6-55
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
Parameters
args
Arguments array containing the following fields.
The OnAgentStatistics event will contain all the agent statistics fields necessary to display the statistics 
configured on the CTI OS server.
OnChatMessage
The OnChatMessage event is generated when an asynchronous text message from another user (agent) 
is received.
Syntax
C++:
void OnChatMessage(Arguments& args)
COM:
void OnChatMessage (IArguments * args)
VB:
session_OnChatMessage (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
OnControlFailureConf
The OnControlFailureConf event is generated when the previously issued request, identified by the 
InvokeID field failed. It is sent in place of the corresponding confirmation message for that request.
Keyword
Description
Type
PeripheralID
The ICM PeripheralID of the ACD where 
the agent is located.
INT
AgentExtension 
(required)
The agent’s ACD teleset extension.
STRING
AgentID (required)
The agent’s ACD login ID.
STRING
AgentInstrument 
(required)
The agent’s ACD instrument number.
STRING
Keyword
Type
Description
Distribution
STRING
Currently the only supported value is “agent”.
AgentID
STRING
The AgentID of the message target.
Target
STRING
The AgentID of the message target.
Message
STRING
The text message provided by the sender.
Source
STRING
The AgentID of the message sender.