CTI32 Engine Class Library

Engine.GetOutboundHandle Method

Select a port available to make an outbound call and return the handle to that port. The algorithm is to first search ports that are designated for outbound only. It starts with the highest port and works down. If no outbound only ports are available, it will find ports designated as INOUT. It starts with the highest port and works down. The port is locked from other calls until you complete a call or call CancelOutboundCall. -1 if all lines busy.

Overload List

Select a port available to make an outbound call and return the handle to that port. The algorithm is to first search ports that are designated for outbound only. It starts with the highest port and works down. If no outbound only ports are available, it will find ports designated as INOUT. It starts with the highest port and works down. The port is locked from other calls until you complete a call or call CancelOutboundCall. -1 if all lines busy.

public int GetOutboundHandle();

Select a port available to make an outbound call and return the handle to that port. The algorithm is to first search ports that are designated for outbound only. The algorithm specifies how it searches. If no outbound only ports are available, it will find ports designated as INOUT. The port is locked from other calls until you complete a call or call CancelOutboundCall.

public int GetOutboundHandle(int);

Overload to allow the caller to specify the type of GC Protocol to search for. Valid options are SIP and DM3 Select a port available to make an outbound call and return the handle to that port. The algorithm is to first search ports that are designated for outbound only. It starts with the highest port and works down. If no outbound only ports are available, it will find ports designated as INOUT. It starts with the highest port and works down. The port is locked from other calls until you complete a call or call CancelOutboundCall. -1 if all lines busy.

public int GetOutboundHandle(string);

See Also

Engine Class | CTI32Engine Namespace