cti.WaitForOffhook Method
Wait for an MSI station to go offhook. This may be important to indicate the station wants to make an outbound call.
[Visual Basic]
Public Shared Function WaitForOffhook( _
ByVal
chdev As
Integer, _
ByVal
Timeout As
Integer _
) As
Integer
[C#]
public static
int WaitForOffhook(
int chdev,
int Timeout);
Parameters
-
chdev
- The MSI channel device returned from CTIOpenStation.
-
Timeout
- How long to wait in seconds for the station to go offhook, before this function will return
Return Value
0=If station goes Offhook -1=Timeout
See Also
cti Class | CTI32NetLib Namespace