Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
6-37
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 6      Event Interfaces and Events
ICallEvents Interface
OnCallFailed
The OnCallFailed event may be generated when a call cannot be completed. With 
this event the connection status becomes LCS_FAIL. This would most likely 
happen as a result of a MakeCall or a MakeConsultCall request, but can occur at 
any other point in the call’s lifetime if the call fails on an ACD. In this case, you 
should perform any required cleanup prior to arrival of an EndCall event.
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.
Keyword
Type
Description
EnablementMask
INT
Contains the bitmask 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.