Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 506
   
6-41
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 6      Event Interfaces and Events
ICallEvents Interface
OnCallReachedNetworkEvent
The connection of an outbound call to another network may generate an OnCallReachedNetworkEvent. 
With some switches outside of the ACD, this may be the last event the outbound connection receives. 
For these switches, you may not assume that when the called party receives and answers the call that the 
OnCallDelivered and OnCallEstablished events will be received.
Syntax
C++:
void OnCallReachedNetworkEvent(Arguments& args)
COM:
void OnCallReachedNetworkEvent (IArguments * args)
VB:
session_OnCallReachedNetworkEvent (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-34
OnCallReachedNetworkEvent Parameters
ServiceNumber 
INT
The service that the call is attributed to, as known to the 
peripheral.
NumQueued
SHORT
The number of calls in the queue for this service.
NumSkillGroups
SHORT
The number of Skill Group queues that the call has queued to, 
up to a maximum of 50.
Keyword
Type
Description
Keyword
Type
Description
Connection 
DeviceID
STRING
The identifier of the connection between the call and the device.
ConnectionDevice 
IDType
SHORT
Indicates the type of the connection identifier supplied in the 
ConnectionDeviceID.
TrunkUsedDeviceID STRING
The device identifier of the selected trunk.
TrunkUsedDeviceID
Type
SHORT
Indicates the type of the device identifier supplied in the 
TrunkUsedDeviceID.
CalledDeviceID 
STRING
The device identifier of the called device.
CalledDeviceIDType SHORT
Indicates the type of the device identifier supplied in the 
CalledDeviceID.
LocalConnection 
State
SHORT
The state of the local end of the connection.
EventCause
SHORT
Indicates a reason or explanation for the occurrence of the event.
LineHandle
SHORT
Identifies the teleset line being used.
LineType
SHORT
Indicates the type of the teleset line.