
Chapter 4 – Voice Commands
Multi-Tech Systems, Inc. AT Commands for the MultiModem & SocketModem MT9234 Series (S000434H) 46
+VTS Send Voice Tone(s)
Description: This command causes the modem to send DTMF digit or hookflash tones with the
duration specified by +VTD, to send DTMF digit or hookflash tone duration specified
by this command, or to send single or dual tone frequencies with duration specified
with this command.
Syntax: AT+VTS=<string>
Values: <string> The tone generation string consists of elements in a list where each
element is separated by commas. Each element can be:
1. A single character which the modem interprets as a DTMF digit (0–9,
#, *, and A–D) or hookflash (!), with a duration given by the +VTD
command.
2. A 3-element string enclosed in square brackets "[freq1,freq2,dur]",
which the modem interprets as a general dual tone and duration
(dur) selection.
3. A 2-element string enclosed in curly braces "{X,dur}", which the
modem interprets as a DTMF digit ((0–9, #, *, and A–D) or hookflash
(!), with a duration (dur) different than that given by the +VTD
command.
Missing parameters are assumed to be the default value. Unspecified
values always default to 0 for frequencies, DTMF * for DTMF tones, and
+VTD for duration. The omission of commas (and associated
subparameters) is valid.
Result Codes: OK if the PC accepts the command.
ERROR if the modem encountered an error in parsing the subparameter or if the
selected frequency is out of range.
Example: Using the +VTS command for tone generation without using any null elements:
AT=VTS=1,2,[1000,1300,50],{*6},{800,1300,50},9
The above string will perform as follows:
1. Play DTMF 1 with a duration given by the +VTD command.
2. Play DTMF 2 with a duration given by the +VTD command.
3. Play tone pair at 1000 Hz and 1300 Hz with a duration of 500 ms.
4. Play DTMF * with a duration of 60 ms.
5. Play tone pair at 800 Hz and 1300 Hz with a duration of 500 ms.
6. Play DTMF 9 with a duration given by the +VTD command.
Reports: +VTS=? Reports Frequency Support. Reports the current frequency range in the
form <freq1>,<freq2>,<dur> , where <freq1> is the first frequency range,<freq2> is
the second frequency range, and<dur> is the duration range for the square brackets
and curly braces constructs. The units are in 0.01 seconds. The range of valid <dur>
values is that of the +VTD command.
Example: In the lines below, the modem responds to the +VTS=? command by
reporting that it supports two frequencies, both in the range of 200-3300 Hz, and
supports a duration range from 0 to 5 seconds.
AT+VTS=?
(200-3300), (200-3300), (0-500)
OK
Kommentare zu diesen Handbüchern