Cisco Cisco Computer Telephony Integration Option 8.5 개발자 가이드
6-25
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 6 Event Interfaces and Events
ICallEvents Interface
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.
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.
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.
ECC (optional)
ARGUMENTS Arguments array that contains all of the Expanded Call
Context variables in use; for example:
user.ArrayVariable[0]
user.ArrayVariable[1]
...
user.ArrayVariable[n]
user.ScalarVariable
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)
UniqueID (optional)
STRING
Required only when the call is pre-routed.
Keyword
Type
Description
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.
or disabled when this call is the current call.
UniqueObjectID
STRING
An object ID that uniquely identifies the call object.