Partager via


LINEBEARERMODE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

These bit-flag constants describe different bearer modes of a call. When an application makes a call, it can request a specific bearer mode. These modes are used to select a certain quality of service for the requested connection from the underlying telephone network. Bearer modes available on a given line are a device capability of the line.

The following table shows the LINEBEARERMODE constants.

Value Description

LINEBEARERMODE_ALTSPEECHDATA = 0x00000010

The alternate transfer of speech or unrestricted data on the same call (ISDN).

LINEBEARERMODE_DATA = 0x00000008

The unrestricted data transfer on the call. The data rate is specified separately.

LINEBEARERMODE_MULTIUSE = 0x00000004

The multiuse mode defined by ISDN.

LINEBEARERMODE_NONCALLSIGNALING = 0x00000020

This corresponds to a non-call-associated signaling connection from the application to the service provider or switch. This is treated as a media stream by TAPI.

LINEBEARERMODE_PASSTHROUGH = 0x00000040

When a call is active in LINEBEARERMODE_PASSTHROUGH, the service provider gives direct access to the attached hardware for control by the application. This mode is used primarily by applications desiring temporary direct control over asynchronous modems, accessed through the Win32 communication functions, for the purpose of configuring or using special features not otherwise supported by the service provider. TAPI version 1.4 and later.

LINEBEARERMODE_RESTRICTEDDATA = 0x00000080

Bearer service for digital data in which only the low-order seven bits of each octet may contain user data (for example, for Switched 56kbit/s service). TAPI version 2.0 and later.

LINEBEARERMODE_SPEECH = 0x00000002

This corresponds to G.711 speech transmission on the call. The network can use processing techniques such as analog transmission, echo cancellation, and compression/decompression. Bit integrity is not assured. Speech is not intended to support fax and modem media types.

LINEBEARERMODE_VOICE = 0x00000001

This is a regular 3.1 kHz analog voice-grade bearer service. Bit integrity is not assured. Voice can support fax and modem media types.

Remarks

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

Note that bearer mode and media type are different notions. The bearer mode of a call is an indication of the quality of the telephone connection as provided primarily by the network. The media type of a call is an indication of the type of information stream that is exchanged over that call. Group 3 fax or data modem are media types that use a call with a 3.1 kHz voice bearer mode.

Requirements

Header tapi.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later