CTI32 Class Library

cti.HalfRoute Method 

This performs an SCbus route or unroute between a CTI controlled device and any given timeslot. Useful in interfacing to non-supported devices.

[Visual Basic]
Public Shared Function HalfRoute( _
   ByVal route As RouteEnum, _
   ByVal dev1 As Integer, _
   ByVal type1 As DevType, _
   ByVal timeslot As Integer _
) As Integer
[C#]
public static int HalfRoute(
   RouteEnum route,
   int dev1,
   DevType type1,
   int timeslot
);

Parameters

route
Route or UnRoute
dev1
The first device number (chdev) returned from the CTIOpenVoicePort() or CTIOpenT1Port() or CTIOpenISDNPort().
type1
Type of device.
timeslot
Timeslot to route to.

Return Value

0=successful -1=Error

See Also

cti Class | CTI32NetLib Namespace