Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
6-72
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
OnQueryAgentStateConf
The OnQueryAgentStateConf event is generated and returned by the server at login as a response to the 
QueryAgentState() request. A user cannot issue this request.
Syntax
C++:
void OnQueryAgentStateConf(Arguments& args)
COM:
void OnQueryAgentStateConf (IArguments * args)
VB:
session_OnQueryAgentStateConf (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-68
OnQueryAgentStateConf Parameters
SkillGroupID
INT
The system-assigned identifier of the agent SkillGroup 
affected by the state change. May contain the special 
value NULL_SKILL_GROUP when not applicable or 
not available. 
StateDuration
INT
The number of seconds since the agent entered this state 
(typically 0).
SkillGroupPriority 
SHORT
The priority of the skill group, or 0 when skill group 
priority is not applicable or not available.
EventReasonCode
SHORT
A peripheral-specific code indicating the reason for the 
state change. 
SkillGroupState
SHORT
Values representing the current state of the associated 
agent with respect to the indicated Agent Skill Group.
AgentID
STRING
The agent’s ACD login ID. 
AgentExtension
STRING
The agent’s ACD teleset extension. 
CTIClientSignature 
(Optional)
STRING
The Client Signature of the CTI Client that is associated 
with this agent. 
Enablement Mask
Contains the bit-mask that specifies what buttons can be 
enabled or disabled when the agent is on this state. 
UniqueObjectID
STRING
A unique object ID for the agent object.
AgentInstrument 
STRING
The agent’s ACD instrument number.
Keyword
Type
Description
Keyword
Type
Description
AgentID
STRING
Agent’s ACD login.
AgentExtension
STRING
Agent’s ACD teleset extension.
AgentInstrument
STRING
Agent’s ACD instrument number.