次の方法で共有


VoiceProfile

The VoiceProfile entry is used by Unimodem to determine the voice modem capabilities of a modem.

Format

A single command string of type DWORD.

Examples

The following two examples demonstrate the use of this entry.

    HKR,, VoiceProfile,    1 , 07,a1,02,02
Or:    HKR,, VoiceProfile,    1, 27,03,00,02
    HKR,, VoiceProfile,    1, 25,12,00,02

Remarks

The ProCalc tool should be used to create the voice profile entry. For more information about ProCalc, see Creating Voice Modem INF File Entries with ProCalc.

The bits in the VoiceProfile DWORD are set as follows:

Description Bit value

Identifies a voice modem (should always be set).

0x00000001

Modem has some element of a TAPI phone device. For example, it can play audio to the handset or report handset hookswitch events.

0x00000002

Modem has a speakerphone phone device.

0x00000004

Modem will use serial wave driver to play audio to the handset and line.

0x00000020

Dial string must always end with DialSuffix in voice mode.

0x00000040

Modem does not support Caller ID.

0x00000080

Modem speaker volume can be changed using multimedia mixer.

0x00000100

Force blind dialing after dial-tone detection. long dial strings are broken up into two or more dial strings. If the modem tries to detect the dial tone every time the dial command is issued, this bit should be set.

0x00000200

Speakerphone state must be reset after recording from line.

0x00000400

Speakerphone state must be reset after playing from line.

0x00000800

Modem does not report distinctive ring (required setting).

0x00001000

Modem supports distinctive ringing with ring duration (DRON and DROF). Ignored if modem does not support distinctive ringing. (Ignore in Windows 2000 and later versions).

0x00002000

If distinctive ringing is enabled, the first ring reported by modem may not be correct. Unimodem will not report the first ring. (This is not supported in Windows 2000 and later versions.)

0x00004000

Modem does not report the first ring when distinctive ringing is enabled. (This is not supported in Windows 2000 and later versions.)

0x00008000

The modem reports silence DLE.

0x00010000

Modem does not support DTMF generation while in voice mode.

0x00020000

Modem does not monitor DTMF digits while in voice mode.

0x00040000

UART baud rate is set before issuing StartPlay or StartRecord commands. If this bit is not set, UART baud rate is set after the StartPlay or StartRecord command.

0x00080000

UART baud rate is reset after the StopPlay or StopRecord command is issued.

0x00100000

Modem keeps handset disconnected from modem while in voice mode. If this bit is set, Unimodem displays "Talk/Drop" dialog during outgoing calls. Unimodem will not allow the line to be opened as Owner/InteractiveVoice.

0x00200000

The speakerphone cannot be muted. Speakerphone can be ONHOOK or MICSPEAKER.

0x00400000

Sierra chipset Voice Modem.

0x00800000

Enable for voice modem use on Windows 2000 and later versions of the operating system.

0x02000000

 

Note  VOICEPROF_SET_BAUD_BEFORE_WAVE 0x00080000

 

This bit indicates the DTE should adjust the baud rate before issuing the StartPlay/StartRecord commands. If the bit is disabled or cleared, then the baud rate will be adjusted after these commands are issued. Usually this bit is set for Rockwell chipset modems.

Distinctive Ring is not supported by Windows 2000 and later versions, therefore the bit value of 0x00001000 is required.

The VoiceProfile bit (0x02000000) is for Windows 2000 and later versions of the operating system. This bit must also be used in conjunction with the following voice entries that are specific to Windows 2000 and later versions of the operating system:

XformID (NT Wavedriver)

BaudRate (NT Wavedriver)

XformModule (NT Wavedriver)

WaveHardwareID (NT Wavedriver)

WaveDevices (NT Wavedriver)

 

 

Send comments about this topic to Microsoft