Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
Chapter 6      Event Interfaces and Events
ICallEvents Interface
6-46
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Note
The events (CallConnectionCleared and CallCleared) received after the 
CallFailed event will not include a CallStatus, because until the call has ended, it 
is important to preserve the fact that this is a failed call. 
Syntax
C++:
void OnCallFailed(Arguments& args)
COM:
void OnCallFailed (IArguments * args)
VB:
session_OnCallFailed (ByVal args As CtiosCLIENTLib.IArguments
Parameters
args
Arguments array containing the following fields.
OnCallHeld
Placing a call on hold at the agent’s teleset may generate an OnCallHeld event. 
With this event the connection status becomes LCS_HELD.
Syntax
C++:
void OnCallHeld(Arguments& args)
COM:
void OnCallHeld (IArguments * args)
VB:
session_OnCallHeld (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.