PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Limitation
  • 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
tapiAnswerCall (Function)
In French: telRépondAppel
Answers an incoming call that was detected.
WINDEV The modem picks up and the call can be processed by the modem (via an answerphone for example).
Example
WINDEVReports and QueriesUser code (UMC)
PROCEDURE CallDetection(nServiceID, nCallID, nStatus)
// Picks up the line to answer a call
tapiAnswerCall(nCallID)
// Trigger the answerphone
tapiPlay("answerphone.wav", tapiPlayLock, nCallID)
// If the star key was pressed
// the answerphone is stopped
IF Position(tapiKeyPressed(nCallID), "*") = True THEN
tapiStop(nCallID)
END
Windows Mobile
// Picks up the line to answer a call
tapiAnswerCall(nCallID)
Syntax
<Result> = tapiAnswerCall([<Call Identifier>])
<Result>: Boolean
  • True if the call was successfully answered to,
  • False otherwise.
<Call Identifier>: Optional integer
Identifier of the call to handle. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks

Limitation

tapiAnswerCall cannot be called in the procedure for call detection (defined by tapiListen).
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.
Components
WINDEVReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment