Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
10-16
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 10      Call Object
Methods
MakeConsultCall
The MakeConsultCall method initiates the combined action of placing the associated current call on hold 
and then making a new call. By default, the call context data (including call variables) of the current call 
is used to initialize the context data of the new consultation call. The application may override some or 
all of the original call context in the consultation call by providing the desired values in this request.
The simplest form of the request only requires a dialed number and a consult type. The request may also 
include optional parameters, as listed in 
Syntax
C++:
int MakeConsultCall (Arguments& args))
COM:
HRESULT MakeConsultCall (/*[in]*/ IArguments *args, /*[out, retval]*/ int * 
errorcode)
VB:
MakeConsultCall (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int MakeConsultCall(Arguments args)
.NET:
CilError MakeConsultCall(Arguments args)
Parameters
args
An output parameter of either a reference or a pointer to an Arguments array that contains 
parameters from 
. Any of these parameters included should be added to the Arguments 
array using the associated key word.
Table 10-4
MakeConsultCall Parameters
Parameter
Type
Description
DialedNumber (required)
STRING, 
maximum 
length 40
Dialed number; the number to be 
dialed to establish the new call.
ConsultType (required)
INT
A value specifying whether this 
consult call is in preparation for 
either a transfer or a conference, 
as specified in the ConsultType 
Table.
CallPlacementType 
(optional)
STRING, 
maximum 
length 40
A value specifying how the call 
is to be placed identified in 
CallMannerType (optional) INT
A value specifying additional 
call processing options identified 
in 
.
AlertRings (optional)
INT
The maximum amount of time 
that the call’s destination will 
remain alerting, specified as an 
approximate number of rings. A 
zero value indicates that the 
peripheral default (typically 10 
rings) should be used.