Primary Voice Modem INF File Entries
Unimodem uses the values defined in the Init, Monitor, VoiceDialNumberSetup, and VoiceAnswer INF file entries to control the initialization of voice modems. Examples of these entries follow:
HKR, Init, 2,, "AT &F E0 V1 &D2 &C1 S95=47 S0=0<cr>"
HKR, Monitor, 1,, "ATS0=0<cr>"
HKR, Monitor, 2,, "None"
HKR, VoiceDialNumberSetup, 1,, "at#cls=8<cr>"
HKR, VoiceDialNumberSetup, 2,, "at#vls=0<cr>"
HKR, VoiceDialNumberSetup, 3,, "at#vrn=0<cr>"
HKR, VoiceDialNumberSetup, 4,, "at#vbt=1<cr>"
HKR, VoiceDialNumberSetup, 5,, "at#vsr=7200<cr>"
HKR, VoiceDialNumberSetup, 6,, "at#vbs=4<cr>"
HKR, VoiceAnswer, 1,, "at#cls=8<cr>"
HKR, VoiceAnswer, 2,, "at#vls=0<cr>"
HKR, VoiceAnswer, 3,, "at#vbt=1<cr>"
HKR, VoiceAnswer, 4,, "at#vsr=7200<cr>"
HKR, VoiceAnswer, 5,, "at#vbs=4<cr>"
HKR, VoiceAnswer, 6,, "ata<cr>"
Unimodem sends the commands that are stored in these INF file entries to the modem when TAPI functions are called. The TAPI functions that are called and the parameters they use are listed in the following table.
Registry Key(s) Holding Command | TAPI Function Called | Parameter(s) |
---|---|---|
Init and Monitor |
lineOpen |
LINECALLPRIVILEDGE_OWNER |
Init |
lineOpen |
LINECALLPRIVILEDGE_NONE or _MONITOR LINEMEDIAMODE_INTERACTIVEVOICE or _AUTOMATEDVOICE followed by lineMakeCall |
VoiceDialNumberSetup |
lineMakeCall |
none |
VoiceAnswer |
lineAnswer |
none |