Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 640
Chapter 6      Event Interfaces and Events
ICallEvents Interface
6-44
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
OnCallEstablished
The OnCallEstablished event may be 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
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.
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.