Partager via


LINEADDRESSMODE (Compact 2013)

3/26/2014

These bit-flag constants describe various ways of identifying an address on a line device.

The following table shows the LINEADDRESSMODE constants.

Value

Description

LINEADDRESSMODE_ADDRESSID = 0x00000001

The address is specified with a small integer in the range zero (0) to dwNumAddresses minus one (-1), where the dwNumAddresses member is the value in the line's device capabilities, which is specified in the LINEDEVCAPS structure.

LINEADDRESSMODE_DIALABLEADDR = 0x00000002

The address is specified through its phone number.

Remarks

The high-order 16 bits can be assigned for device-specific extensions. The low-order 16 bits are reserved.

This constant is used to select an address on a line on which to originate a call. The usual model would select the address by means of its address identifier. Address identifiers are the mechanism used to identify addresses throughout TAPI. However, in some environments, when making a call, it is often more practical to identify a call's originating address by phone number rather than by address identifier. One example is in the possible modeling of large numbers of stations (third-party) on the switch by means of one line device with many addresses. The line represents the set of all stations, and each station is mapped to an address with its own primary phone number and address identifier.

Requirements

Header

tapi.h

See Also

Reference

TAPI Constants
LINEDEVCAPS