Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
Chapter 10      Call Object
Methods
10-10
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Arguments Parameters
The following rules apply to the optional_args and reserved_args parameters in 
Call Object methods:
In VB, you can ignore these parameters altogether. For example, you can treat 
the line:
Answer([reserved_args As IArguments]) As Long
as follows:
Answer()
To ignore these parameters in COM you must send a NULL, as shown:
Answer (NULL)
Alternate
The Alternate method combines the action of placing a talking call on hold and 
then retrieving a previously held call at the same device. If there are only two calls 
at the device, this method may be called via either the current or the held call. 
Syntax
C++: 
int Alternate()
int Alternate(Arguments & reserved_args);
COM:
HRESULT Alternate (/*[in,optional]*/  IArguments *reserved_args,  
 
 
(/*[out, retval]*/ int * errorcode );
VB:
Alternate([reserved_args As IArguments]) As Long
Java: 
int Alternate(Arguments reserved_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