|
|
|
|
|
tapiCapability (Function) In french: telCapacité 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. IF BinaryAND(tapiCapability("LPT2"), tapiOptionMediaModeVoice) = tapiOptionMediaModeVoice THEN Info("Voice supported") END  IF BinaryAND(tapiCapability("LPT2"), tapiOptionMediaModeFax) = tapiOptionMediaModeFax THEN Info("Fax supported") END
Syntax
<Result> = tapiCapability(<Device name>)
<Result>: Integer or integer constant - 0 if an error occurred,
- one or more of the following constants:
| | tapiOptionMediaModeFax | Device accepting the faxes | tapiOptionMediaModeUnknown | Device accepting the incoming calls of unknown type. | tapiOptionMediaModeVoice | Device accepting the voice calls. Remark: The Fax modems that allow auto-dialing may return this constant. |
To easily identify the result, use BinaryAND.
<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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|