Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 640
6-69
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
IAgentEvents Interface
The Agent object fires events on the IAgentEvents interface. The following events 
are published to subscribers of the IAgentEvents interface. 
OnAgentInfoEvent
The OnAgentInfoEvent event is generated as a response to a query to the Agent 
Name Lookup Service and carries the agent’s name. This query is generated by the 
CTI OS server when it is configured to do agent name lookup. The 
OnAgentInfoEvent event is sent to the client if the server has obtained the 
information.
Syntax
C++:
void OnAgentInfoEvent(Arguments& args)
COM:
void OnAgentInfoEvent (IArguments * args)
VB:
session_OnAgentInfoEvent (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Keyword
Type
Description
UniqueObjectID
STRING
An object ID that uniquely identifies 
the call object.
Keyword
Type
Description
UniqueObjectID
STRING
A unique object ID for the agent object
AgentLastName
STRING
Agent’s last name
AgentFirstName
STRING
Agent’s first name.