etLine.Device.MediaModes Properties


The following is a list of the available Media Modes:

LINEMEDIAMODE_UNKNOWN

A media stream exists but its mode is not currently known and may become known later. This would correspond to a call with an unclassified media type. In typical analog telephony environments, an incoming call's media mode may be unknown until after the call has been answered and the media stream has been filtered to make a determination.
If the unknown media-mode flag is set, other media flags can also be set. This signifies that the media is unknown but that it is likely to be one of the other selected media modes.

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 of the telematic services.

LINEMEDIAMODE_MIXED

A mixed session on the call. Mixed is one of 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.

 

Device.MediaModes.Active
Device.MediaModes.Available
Device.MediaModes.Open
 


etLine.Device.MediaModes.Active

ActiveX: etLine.DeviceMediaModesActive
Type: Integer
When: Design-Time and Run-Time
Read/Write: Read and Write
Edition: Express, Standard, Professional, Enterprise
<Click here for example>

This is a set of bit flags that indicate the media modes that are currently active for the select TAPI line device (Device.ID). The value of this property is valid when the Device.Active property has a value of True.

Use the method StringLINEMEDIAMODE to decode this value.

etLine.Device.MediaModes.Available

ActiveX: etLine.DeviceMediaModesAvailable
Type: Integer
When: Design-Time and Run-Time
Read/Write: Read Only
Edition: Express, Standard, Professional, Enterprise
<Click here for example>

This is a set of bit flags that indicates the media modes that are available for this TAPI line device. The value of this property is set after the Device.ID property is set.

Use the method StringLINEMEDIAMODE to decode this value.

etLine.Device.MediaModes.Open

ActiveX: etLine.DeviceMediaModesOpen
Type: Integer
When: Run-Time
Read/Write: Read Only
Edition: Express, Standard, Professional, Enterprise
This is a set of bit flags that indicate the media modes that will be used when the TAPI line device is activated by setting the Device.active property to True. This property is set to the value of Device.MediaModes.Available when the Device.ID property is modified, this will ensure that the device is activated with all available media modems. If your application requires fewer media modes than the default then change the value of this property prior to setting Device.Active to True.

Use the method StringLINEMEDIAMODE to decode this value.



etLine Properties - Device etLine Properties - Line