PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 handle. 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
WINDEVUser code (UMC)

Required configuration

The telephony functions are using the TAPI 2.0 technology. This technology can be used on all the systems.
However, if the system used is Windows NT4, the service pack 4 (or later) must be installed.
Note: The TAPI 3.0 technology (and later) is not supported in this version.
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
Components
WINDEVReports and Queries wd230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment