Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
Chapter 8      Session Object
Methods
8-8
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Connect
The Connect method establishes a connection to a CTI OS server. 
Syntax
C++:
int Connect(Arguments& args)
COM:
HRESULT Connect(IArguments *args, int * errorcode)
VB:
Connect(args As CTIOSCLIENTLib.IArguments) As Long
Java:
int Connect(Arguments args)
Parameters
args
An arguments array containing the connection parameters listed in 
.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Values
Default CTI OS return values. Se
Table 8-3
Connect Parameters
Keyword
Type
Description
CtiosA
STRING
Name or TCP/IP address passed as CTI 
OS server A.
CtiosB
STRING
Name or TCP/IP address passed as CTI 
OS server B 
PortA (optional)
INT
TCP/IP port for ctiosA, default = 42028.
PortB (optional)
INT
TCP/IP port for ctiosB, default = 42028
Heartbeat (optional)
INT
Heartbeat time, expressed in seconds. If 
not set, default heartbeats are 
configurable on CTI OS server.