Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
6-87
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 6      Event Interfaces and Events
IAgentEvents Interface
Remarks
When PG failover occurs, it is possible that the client application will receive an 
OnPostLogout event with an EventReasonCode of 
CTIOS_IPCC_FORCED_LOGOUT_REASON_CODE. For example, this may 
happen on an IPCC system after reconnecting to a different server during a failover, 
because there is a race condition of the PG logging the agent out and the client 
reconnecting to the other server before it happens. If this happens, the client 
application should not disconnect from CTI OS Server.
OnPreLogout
The OnPreLogout event just before the agent is logged out. It allows for any 
cleanup or logic that needs to be done before logout is completed.
Syntax
C++:
 void OnPreLogout(Arguments& args)
COM:
void OnPreLogout (IArguments * args)
VB:
 session_OnPreLogout (ByVal args As CtiosCLIENTLib.IArguments)
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. 
EnablementMask
INT
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