Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
6-33
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
OnCallEnd
The OnCallEnd event is generated when the association between a call and the CTI Client is dissolved.
The OnCallEnd event is the last event received for a Call.
The OnCallEnd event is the last event received for a Call.
Syntax
C++:
void OnCallEnd(Arguments& args)
COM:
void OnCallEnd (IArguments * args)
VB:
session_OnCallEnd (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Keyword
Type
Description
UniqueObjectID
STRING
An object ID that uniquely identifies the call object.
CallStatus (optional) SHORT
The current status of the call.
ICMEnterprise
UniqueID (optional)
UniqueID (optional)
STRING
Required only when the call is pre-routed.
Connection
DeviceID
DeviceID
INT
The device identifier of the connection between the call and the
device.
device.
ConnectionCallID
UINT
The Call ID value assigned to this call by the peripheral or the
ICM.
ICM.
ServiceNumber
INT
The service that the call is attributed to, as known to the
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID
INT
The ICM ServiceID of the service that the call is attributed to.
May contain the special value NULL_SERVICE when not
applicable or not available.
May contain the special value NULL_SERVICE when not
applicable or not available.
DivertingDevice
Type
Type
SHORT
Indicates the type of the device identifier supplied in the
DivertingDeviceID field.
DivertingDeviceID field.
CalledDeviceType
SHORT
Indicates the type of the device identifier supplied in the
CalledDeviceID field.
CalledDeviceID field.
LocalConnection
State
State
SHORT
The state of the local end of the connection.
EventCause
SHORT
Indicates a reason or explanation for the occurrence of the event.
DivertingDeviceID
(Optional)
(Optional)
STRING
The device identifier of the device from which the call was
diverted.
diverted.
CalledDeviceID
(Optional)
(Optional)
STRING
The device identifier of the device to which the call was diverted.
Keyword
Type
Description