Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
6-59
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-57
OnAgentStatistics Parameters
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.
Table 6-58
OnChatMessage Parameters
Keyword
Description
Type
PeripheralID
The Unified 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.