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
tapiRecord (Function)
In french: telEnregistre
Records the current communication as a".WAV" file. This function can be used to create a voice message for an answerphone. The recording is automatically stopped after the specified duration.
Example
// The answerphone is started
// The message of the caller is currently recorded
// The maximum duration is set to 60 seconds
tapiRecord("M_" + Today() + Now() + ".wav", 60, nCallID)
Syntax
<Result> = tapiRecord(<Name of WAV file> , <Maximum duration> [, <Call identifier>])
<Result>: Boolean
  • True if the recording is performed,
  • False otherwise.
<Name of WAV file>: Character string
Name and path of the ".WAV" file to create. The file extension must be specified.
<Maximum duration>: Integer ou Duration
Maximum duration for the recording (in seconds). This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • the duration in a readable format (e.g., 1 s or 10 ms).
<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
WINDEVUser code (UMC)

Required configuration

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

Last update: 05/26/2022

Send a report | Local help