Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 508
   
6-69
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
OnPostLogout
The OnPostLogout event is generated after the agent has logged out. Arrival of this event guarantees that 
the agent state event signalling the agent's transition to logout state has been received and handled by all 
interested event listeners.
Syntax
C++:
void OnPostLogout(Arguments& args)
COM:
void OnPostLogout (IArguments * args)
VB:
session_OnPostLogout (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-65
OnPostLogout Parameters
Keyword
Type
Description
PeripheralID
INT
The Unified ICM PeripheralID of the ACD where the 
agent state change occurred.
PeripheralType
SHORT
The type of the peripheral.
AgentState
SHORT
One of the values in 
current overall state of the associated agent. 
SkillGroupNumber 
INT
The number of the agent SkillGroup affected by the 
state change, as known to the peripheral. May contain 
the special value NULL_SKILL_GROUP when not 
applicable or not available.
SkillGroupID
INT
The Unified ICM SkillGroupID 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.