Allows you to find out whether the number called is busy. This function can be used for the current outgoing call only.
// Dial the number
IF tapiDial(sPhoneNumber, "CallStatus", 4) = True THEN
// Communication established
Message("The communication is established")
Info("The connection is established, you can pick up")
IF NOT ErrorInfo() ~= "" THEN
// Check whether the line is busy
IF tapiCallIsBusy() = True THEN
Info("The line is busy")
// Check whether the correspondent responded
IF tapiNoAnswer() = True THEN
Info("The correspondent did not answer")
<Result> = tapiCallIsBusy([<Call identifier>])
- True if the number called is busy,
- False otherwise.
<Call identifier>: Optional integer
Identifier of the call to be handled. This identifier is defined in the WLanguage procedure called by tapiListen. If this parameter is not specified, the current outgoing or incoming call is handled.
Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.
Complete examples (WINDEV): WD Telephony