|TAPIEx ActiveX Control v3.6
The OnMonitorMedia event is fired when TAPI indicates that the media
mode of the call changed.
m_Call As TAPICall,
MediaMode As TAPI_CALLMEDIA);
- Reference to ITAPICALL.
- The new media type (or mode). This parameter must be one and only one of
- Voice energy was detected on the call, and the voice is locally handled by an automated application such as with an answering machine application. When a service provider cannot distinguish between interactive and automated voice on an incoming call, it will report the call as interactive voice.
- A data modem session on the call. Current modem protocols require the called station to initiate the handshake. For an incoming data modem call, the application can typically make no positive detection. How the service provider makes this determination is its choice. For example, a period of silence just after answering an incoming call can be used as a heuristic to decide that this might be a data modem call.
- An ADSI (Analog Display Services Interface) session on the call. ADSI enhances voice calls with alphanumeric information downloaded to the phone and the use of soft buttons on the phone.
- A digital data stream of unspecified format.
- A group 3 fax is being sent or received over the call.
- A group 4 fax is being sent or received over the call.
- Voice energy was detected on the call, and the call is handled as an interactive voice call with humans on both ends.
- A mixed session on the call. Mixed is one of the ISDN telematic services.
- A TDD (Telephony Devices for the Deaf) session on the call.
- A teletex session on the call. Teletex is one of the telematic services.
- A telex session on the call. Telex is one of the telematic services.
- The media type of the call is video. (TAPI versions 2.1 and later)
- A videotex session on the call. Videotex is one the telematic services.
- The media type of the call is VoiceView. (TAPI versions 1.4 and later)
- 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 type 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 is used to signify that the media is unknown but that it is likely to be one of the other selected media types.