CTI32 Class Library

cti.Start Method 

Starts the CTI System. This must be the first call into the CTI32 Library.

[Visual Basic]
Public Shared Function Start( _
   ByVal logfile_name As String, _
   ByVal screen_flag As Integer, _
   ByVal path_to_deadairfiles As String, _
   ByVal DoSetChannelState As Integer _
) As Integer
[C#]
public static int Start(
   string logfile_name,
   int screen_flag,
   string path_to_deadairfiles,
   int DoSetChannelState
);

Parameters

logfile_name
CTI32 logfile name. Pass "" if you do not want a log.
screen_flag
0=No logs 1=Main log, console 11=Main log, no console 2=Log each channel, main, no console 3=Log each channel, main, console 4=Log each channel, no main, no console 5=Log each channel, no main, console
path_to_deadairfiles
Usually "" - you need this for internet Streaming of voice files
DoSetChannelState
Usually 0, 1 for ISDN SetChannel Logic. Note: Passing a 1 can cause the system to lock in the Dialogic Driver if the ISDN protocol does not support it.

Return Value

0 if successful

See Also

cti Class | CTI32NetLib Namespace