ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Phone functions
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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:
WD Telephony 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
Component: wd290com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help