Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 508
   
10-16
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 10      Call Object
Methods
Return Value
Default CTI OS return values. See 
Remarks
The Hold request must be made via a call whose call status is LCS_CONNECT or it will fail.
The following events will be received if this request is successful: 
OnHoldCallConf event
OnCallHeld event
The following events will be received  if this request fails: 
OnControlFailureConf event
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.