Cisco Cisco Computer Telephony Integration OS 8.5 개발자 가이드
Chapter 6 Event Interfaces and Events
IAgentEvents Interface
6-98
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
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.
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.
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)
CTIClientSignature
(Optional)
(Optional)
STRING
The Client Signature of the CTI Client
that is associated with this agent.
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.
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