Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
6-53
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 6      Event Interfaces and Events
ICallEvents Interface
OnCallOriginated
The initiation of a call from the peripheral may generate an OnCallOriginated 
event. Only the connection making the call receives this event. With this event the 
connection status becomes LCS_INITIATE.
Syntax
C++:
void OnCallOriginated(Arguments& args)
COM:
void OnCallOriginated (IArguments * args)
VB:
session_OnCallOriginated (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.
SkillGroupNumber 
(Optional)
INT
The number of the agent SkillGroup the call 
is attributed to, as known to the peripheral. 
May contain the special value 
NULL_SKILL_GROUP when not 
applicable or not available.