PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Limitation
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.
Example
Reports and Queries
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
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).
Component : wd250com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment