ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Phone functions
  • Required configuration
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
tapiNoAnswer (Function)
In french: telAppelPasDeRéponse
Used to find out whether an answer was given to the call.
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> = tapiNoAnswer([<Call identifier>])
<Result>: Boolean
  • True if the number called did not get an answer,
  • False otherwise.
<Call identifier>: Optional integer
Identifier of the call to be handled. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks

Required configuration

Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help