Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
Chapter 6      Event Interfaces and Events
ICallEvents Interface
6-30
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
OnCallCleared
An OnCallCleared event is generated when the voice portion of all parties on a 
call is terminated, normally when the last device disconnects from a call. With this 
event the connection status becomes LCS_NULL.
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.
CTIClients (optional)
ARGUMENTS Arguments array that contains the 
information about the number of 
clients that are using the call object; 
for example:
CTIClient[1]
CTIClientSignature
 
CTIClientTimestamp
ICMEnterprise 
UniqueID (optional)
STRING
Required only when the call is 
pre-routed.
Keyword
Type
Description