Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
6-3
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 6      Event Interfaces and Events
ISessionEvents Interface
OnConnectionFailure
The OnConnectionFailure event is generated when an established connection fails. It returns the name 
of the failed connected server and the failure time of day. Retry is automatic and can be followed by an 
OnConnection event when connection is successfully reestablished. The client application need not take 
any special action but may use this event to display connection status.
Syntax
C++:
void OnConnectionFailure(Arguments& args)
COM:
void OnConnectionFailure (IArguments * args)
VB:
session_OnConnectionFailure (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-2
OnConnectionFailure Event Parameters
OnConnectionRejected
The OnConnectionRejected event indicates that the client has tried to make a connection using 
incompatible versions of the CTI OS Server and CTI OS CIL.
Syntax
C++:
void OnConnectionRejected (Arguments& args)
COM:
void OnConnectionRejected (IArguments * args)
VB:
Session_OnConnectionRejected (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Not currently used, reserved for future use.
OnCTIOSFailure
The OnCTIOSFailure event indicates that the CTI Server has fired either a FailureConf or a 
SystemEvent.
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in milliseconds.
FailedServer 
STRING
Name or TCP/IP address of the server that has failed to respond. See 
ReasonCode.
ReasonCode 
SHORT
SERVER_CONNECTIONBROKEN, Value = 3, 
SERVER_MISSINGHEARTBEATS, Value = 1