ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
Returns the characteristics of a telephony device. Allows you to find out whether this device supports all types of incoming calls, the voice calls and the faxes.
Example
IF BitwiseAND(tapiCapability("LTP2"), tapiOptionMediaModeVoice) = tapiOptionMediaModeVoice THEN 
	Info("Voix gérée")
END

IF BitwiseAND(tapiCapability("LTP2"), tapiOptionMediaModeFax) = tapiOptionMediaModeFax THEN
	Info("Fax géré")
END
Syntax
<Result> = tapiCapability(<Device name>)
<Result>: Integer or integer constant
  • 0 if an error occurs,
  • one or more of the following constants:
    tapiOptionMediaModeFaxDevice accepting the faxes
    tapiOptionMediaModeUnknownDevice accepting the incoming calls of unknown type.
    tapiOptionMediaModeVoiceDevice accepting the voice calls.
    Note: Fax modems enabling automation dialing can return this constant.
To easily identify the result, use BitwiseAND.
<Device name>: Character string
Name of the device to use. The list of telephony devices is returned by tapiDeviceList.
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: 03/27/2025

Send a report | Local help