Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 490
   
6-34
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
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.
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.
Table 6-30
OnCallEnd Parameters
OnCallEstablished
The OnCallEstablished event is generated when the call is answered at the agent’s teleset. Both parties 
(call connections) receive this event when the call is answered. With this event, the call status of both 
parties becomes LCS_CONNECT.
Note
With certain switches, when a call is made outside of the ACD, this event may not be received. See 
OnCallReachedNetwork for more detail.
Syntax
C++:
void OnCallEstablished(Arguments& args)
COM:
void OnCallEstablished (IArguments * args)
VB:
session_OnCallEstablished (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)
STRING
Required only when the call is pre-routed.