LINEMEDIAMODE_ Constants

The LINEMEDIAMODE_ constants describe the common media modes (the datatypes of a media stream) on calls. They are used in a system of priority ordering when presenting a new incoming call of UNKNOWN media mode with multiple specific media mode flags set. The priority determines which media-handling application the call should be presented to first. (Extension media modes are considered to all have a lower priority order than the common media modes.)

LINEMEDIAMODE_UNKNOWN
A media stream exists but its mode is not currently known and may become known later. This corresponds to a call with an unclassified media type. In typical analog telephony environments, an inbound call's media mode can be unknown until after the call has been answered and the media stream filtered to make a determination.
LINEMEDIAMODE_INTERACTIVEVOICE
The presence of voice energy on the call and the call is treated as an interactive call with humans on both ends.
LINEMEDIAMODE_AUTOMATEDVOICE
The presence of voice energy on the call and the voice is locally handled by an automated application.
LINEMEDIAMODE_DATAMODEM
A data modem session on the call.
LINEMEDIAMODE_G3FAX
A group 3 fax is being sent or received over the call.
LINEMEDIAMODE_TDD
A TDD (Telephony Devices for the Deaf) session on the call.
LINEMEDIAMODE_G4FAX
A group 4 fax is being sent or received over the call.
LINEMEDIAMODE_DIGITALDATA
Digital data is being sent or received over the call.
LINEMEDIAMODE_TELETEX
A teletex session on the call. Teletex is one of the telematic services.
LINEMEDIAMODE_VIDEOTEX
A videotex session on the call. Videotex is one the telematic services.
LINEMEDIAMODE_TELEX
A telex session on the call. Telex is one the telematic services.
LINEMEDIAMODE_MIXED
A mixed session on the call. Mixed is one the ISDN telematic services.
LINEMEDIAMODE_ADSI
An ADSI (Analog Display Services Interface) session on the call.
LINEMEDIAMODE_VOICEVIEW
The media mode of the call is VoiceView.

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

Note that bearer mode and media mode 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 mode of a call is an indication of the type of information stream that is exchanged over that call. Group 3 fax and data modem are media modes that use a call with a 3.1kHz voice bearer mode.

See Also

LINE_MONITORMEDIA, LINEMEDIACONTROLMEDIA, TSPI_lineMonitorMedia