Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
6-52
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 6      Event Interfaces and Events
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
A unique object ID for the agent object
AgentLastName
STRING
Agent’s last name
AgentFirstName
STRING
Agent’s first name. 
DESK_AGENT_TO_ 
AGENT_CALLS_ 
ALLOWED
Set when calls to other agents are allowed.
0x00000040
DESK_OUTBOUND_AC
CESS_INTERNATIONAL
_MASK          
Set when the agent can initiate international calls.
0x00000080
DESK_OUTBOUND_AC
CESS_PUBLIC_NET_M
ASK      
Set when the agent can initiate calls through the public 
network.
0x00000100
DESK_OUTBOUND_AC
CESS_PRIVATE_NET_M
ASK   
Set when the agent can initiate calls through the private 
network.
0x00000200
DESK_OUTBOUND_AC
CESS_OPERATOR_ASSI
STED_MASK
Set when the agent can initiate operator assisted calls.
0x00000400
DESK_OUTBOUND_AC
CESS_PBX_MASK
Set when the agent can initiate outbound PBX calls.
0x00000800
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