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
tapiRecord (Function)
In French: telEnregistre
Saves the current communication in 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 (with quotes)
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,
  • Versions 23 and later
    the direct indication of duration (1 s or 10 ms for example).
    New in version 23
    the direct indication of duration (1 s or 10 ms for example).
    the direct indication of duration (1 s or 10 ms for example).
<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

Required configuration

This function can only be used in Windows XP. To use this function with the other operating systems, the Unimodem Voice of Microsoft must be installed.
Reminder: 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
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment