|
|
|
|
tapiCallIsBusy (Function) In french: telAppelEstOccupé Allows you to find out whether the number called is busy. This function can be used for the current outgoing call only. PROCEDURE DialPhoneNumber(sPhoneNumber) // 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") RETURN ELSE IF NOT ErrorInfo() ~= "" THEN Error(ErrorInfo()) END // Check whether the line is busy IF tapiCallIsBusy() = True THEN Info("The line is busy") RETURN END // Check whether the correspondent responded IF tapiNoAnswer() = True THEN Info("The correspondent did not answer") RETURN END END Syntax
<Result> = tapiCallIsBusy([<Call identifier>])
<Result>: Boolean - 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. Remarks Required configuration Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.
Related Examples:
|
Complete examples (WINDEV): WD Telephony
[ + ] This example presents the telephony functions of WINDEV. The following topics are presented in this example: 1/ How to dial a phone number 2/ Detect and identify the incoming calls Summary of the example supplied with WINDEV: This example presents the telephony functions supplied with WINDEV. Once contacts have been entered in the main window (the table is in edit), you will be able to call them from the application directly (your computer must be equipped with a modem properly installed). You will be able to get a notification for the incoming calls and to identify the caller
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|