Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
6-27
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 6      Event Interfaces and Events
ICallEvents Interface
Note
If the CallCleared event is received after having received a CallFailed event, note that the event will not 
include a CallStatus since it is important to preserve the fact that the call failed (maintaining the 
CallStatus of LSC_Fail). Because of this exception, the CallStatus of the CallCleared event is optional.
Syntax
C++:
void OnCallDelivered(Arguments& args)
COM:
void OnCallCleared (IArguments * args)
VB:
session_OnCallCleared (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-23
OnCallCleared Parameters
OnCallConnectionCleared
An OnCallConnectionCleared event is generated when a party drops from a call. With this event the 
connection status becomes LCS_NULL.
Note
If the CallConnectionCleared event is received after having received a CallFailed event, note that the 
event will not include a CallStatus since it is important to preserve the fact that the call failed 
(maintaining the CallStatus of LSC_Fail).  Because of this exception, the CallStatus of the 
CallConnectionCleared event is optional.
Syntax
C++:
void OnCallConnectionCleared(Arguments& args)
COM:
void OnCallConnectionCleared (IArguments * args)
VB:
session_OnCallConectionCleared (ByVal args As CtiosCLIENTLib.IArguments)
Keyword
Type
Description
EnablementMask
INT
Contains the bit-mask that specifies what buttons can be enabled 
or disabled when this call is the current call. 
UniqueObjectID
STRING
An object ID that uniquely identifies the call object.
CallStatus
SHORT
The current status of the call.
ICMEnterprise 
UniqueID (Optional)
STRING
Required only when the call is pre-routed.