Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 500
   
10-15
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 10      Call Object
Methods
Hold
The Hold method holds a current call.
Syntax
C++:
int Hold()
int Hold(Arguments & reserved_args);
COM:
HRESULT Hold (/*[in,optional]*/  IArguments *reserved_args,    (/*[out, retval]*/ 
int * errorcode )
VB:
Hold([reserved_args As IArguments]) As Long
Java:
Arguments Hold(Arguments rArgs)
NET:
Arguments Hold(Arguments args)
Parameters
reserved_args
Not currently used, reserved for future use.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
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