Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 668
 
Chapter 6      Event Interfaces and Events
ICallEvents Interface
6-36
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
COM:
void OnCallCleared (IArguments * args)
VB:
session_OnCallCleared (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
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)
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.