Cisco Cisco Computer Telephony Integration Option 8.5 开发者指南

下载
页码 546
 
6-99
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
OnAgentInfoEvent
The OnAgentInfoEvent event is generated as a response to a query to the Agent 
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
SkillGroupNumber 
INT
The number of an agent SkillGroup queue 
that the call has been added to, as known 
to the peripheral. May contain the special 
value NULL_SKILL_GROUP when not 
applicable or not available.
SkillGroupID
INT
The ICM SkillGroupID of the agent 
SkillGroup the call is attributed to. May 
contain the special value 
NULL_SKILL_GROUP when not 
applicable or available.
SkillGroupPriority 
SHORT
The priority of the skill group, or 0 when 
the skill group priority is not applicable 
or not available.
SkillGroupState
SHORT
One of the values representing the current 
state associated agent with respect to the 
skill group.