2.2.3.1.55 LINETERMMODE_Constants

The LINETERMMODE_Constants are bit-flag constants that describe different types of events on a phone line that can be routed to a terminal device.

Constant/value

Description

LINETERMMODE_BUTTONS

0x00000001

These are button-press events that are sent from the terminal to the line.

LINETERMMODE_LAMPS

0x00000002

These are lamp events that are sent from the line to the terminal.

LINETERMMODE_DISPLAY

0x00000004

This is display information that is sent from the line to the terminal.

LINETERMMODE_RINGER

0x00000008

This is ringer-control information that is sent from the switch to the terminal.

LINETERMMODE_HOOKSWITCH

0x00000010

These are hookswitch events that are sent from the terminal to the line.

LINETERMMODE_MEDIATOLINE

0x00000020

This is the unidirectional media stream from the terminal to the line that is associated with a call on the line. Use this value when the routing of both unidirectional channels of a call's media stream can be controlled independently.

LINETERMMODE_MEDIAFROMLINE

0x00000040

This is the unidirectional media stream from the line to the terminal that is associated with a call on the line. Use this value when the routing of both unidirectional channels of a call's media stream can be controlled independently.

LINETERMMODE_MEDIABIDIRECT

0x00000080

This is the bidirectional media stream that is associated with a call on the line and the terminal. Use this value when the routing of both unidirectional channels of a call's media stream cannot be controlled independently.

These constants describe the classes of control and information streams that can be routed directly between a line device and a terminal device (such as a phone set).