4.1.0.13 LINE_MONITORMEDIA

This message is sent whenever a change in the call's media mode is detected and media mode monitoring is enabled. The sending of this message is controlled via the TSPI_lineMonitorMedia function.

Sent to

LINEEVENT


Parameters

HTAPILINE htLine
Specifies the TAPI DLL's opaque object handle to the line device.

HTAPICALL htCall
Specifies the TAPI DLL's opaque object handle to the call device.

DWORD dwMsg
The value LINE_MONITORMEDIA

DWORD dwParam1
Specifies the new media mode, of type LINEMEDIAMODE. Values are:

LINEMEDIAMODE_NONE
No media stream. This value is mainly used as a NULL value.

LINEMEDIAMODE_UNKNOWN
A media stream exists but its mode is not known. This would correspond to a call with an unclassified media type. In typical analog telephony environments, an inbound call's media mode may 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_DIGITALDATA
Digital data being sent or received over the call.

LINEMEDIAMODE_G3FAX
A group 3 fax is being sent or received over the call.

LINEMEDIAMODE_G4FAX
A group 4 fax is being sent or received over the call.

LINEMEDIAMODE_DATAMODEM
A data modem session on 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 of the telematic services.

LINEMEDIAMODE_TELEX
A telex session on the call. Telex is one of the telematic services.

LINEMEDIAMODE_MIXED
A mixed session on the call. Mixed is one of the telematic services.

LINEMEDIAMODE_TDD
A TDD session on the call. TDD stands for Telephony Devices for the Deaf.

LINEMEDIAMODE_ADSI
An ADSI session on the call. ADSI stands for Analog Display Services Interface.

LINEMEDIAMODE_UNAVAIL
The media mode of the call is unavailable and will not be known..

DWORD dwParam2
Unused.

DWORD dwParam3
Unused.

Comments

This message is sent only when media mode monitoring is enabled.

See Also

Functions: TSPI_lineMonitorMedia
Data Types: LINEMEDIAMODE