Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 668
 
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
6-78
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
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.
DESK_NON_ACD_CAL
LS_ALLOWED_MASK    
Set when the agent can place or 
handle non-ACD calls.
0x00001000
DESK_AGENT_CAN_SE
LECT_GROUP_MASK
Set when the agent can select 
which groups they are logged in 
to.      
0x00002000
Table 6-1
DeskSettingsMasks Values
Mask Name
Description
Numeric Value
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.