The following is a list of the voice and voice-related AT commands:
AT is used as the command line prefix, the voice command takes one of the following forms:
+V<CM>? read current setting +V<CM>=? read permissable setting +V<CM>=<single value> set single-valued parameter +V<CM>=<value string> set compound parameterwhere <CM> represents a two-letter command syntax, a value string consists of values separated by comma or semicolon. The first two comand forms are for read action, the last two are for write action. A command may have both action types or just read or write type only.
For each command line received, the modem issues a response to each command in the command line followed by a final response.
Each command response is of the form:
<CR><LF> <value> or <value range> response of "?" or "=?" command <CR><LF>The final response is
<CR><LF> OK or ERROR Command line response <CR><LF>The final response is " OK " if all the commands in the command line have been successfully executed, otherwise it is "ERROR".
mode = 0 (Default), Data mode. mode = 2, Class 2 Fax mode. mode = 2.0, Class 2.0 Fax mode. mode = 6, ZFax mode. mode = 8, Voice mode. DCE Result codes: OK: Command is accepted. ERROR: mode is not permitted.
0,2,2.0,6,8 OKwith <CR><LF> between each line.
Result codes:
VCON: The DCE issues this result code when the DCE has determined that the remote station is off hook. NO ANSWER: The DCE issues this result code when the DCE has continuously detected Ringbacks for the S7 specified amount of time.
The range of the
Result codes:
1 -> Use XON/XOFF flow control in either direction
2 -> Use CCITT Circuit 133 for flow control of the DCE by the DTE,
use CCITT Circuit 106 for flow control of the DTE by the DCE.
Default value is 1.
OK: The DCE issues this result code if DCE accepts this command.
ERROR: The DCE issues this result code if
The response is:
0-2 OKwith <CR><LF> between each line.
The range of
DCE Result codes:
OK: if DCE accepts this command.
ERROR: if value parameter is out of range.
0-255 OKwith <CR><LF> between each line.
The range of the <value> is from 0 to 255. Default value is 6.
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code if value is out of range.
The response is:
0-255 OKwith <CR><LF> between each line.
Note: This is not defined in IS-101. Once again this was requested by customers who were using the modem in overseas countries where the duration of a DTMF tone is not standard.
The range of the <value> is from 0 to 31. Default value is 16.
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code if value is out of range.
The response is:
0-31 OKwith <CR><LF> between each line.
NOTE: This is not defined in IS-101. This command was added to enable the DCE to either increase or decrease its sensitivity to DTMF tones by defining the range of the threshold. This feature was added due to requests from customers.
The range of the value is from 0 to 255. The default value is 192.
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code ifparameter is out of range.
0-255 OKwith <CR><LF> between each line.
Compression method : 2-bit ADPCM Silent threshold : 15 Activity Timer : 7 sec. Silence interval : 7 sec. Ringback gone away timer : 7 sec. Ringback never appeared timer : 5.7 sec. Default beep tone duration : 1 sec. Transmit Volume Selection : 192 Default resync timer : 50ms Default VCON timer : 16 Default DTMF det interval timer: 30ms Default DTMF det threshold : 16 Indicate S/W flow control : SoftwareDCE Result codes:
OK if DCE accepts this command. ERROR if the DCE is not connected to at least one Voice I/O device.Note: Complies with the IS-101
The range of the value; is from 0 to 255. The units are 1 second. Default value is 7 sec.
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code if value is out of range.
The response is:
0-255 OKwith <CR><LF> between each line.
Note: This does comply with IS-101
The permitted values of device are:
0: disconnect all I/O devices 2: Telco line 8: External Microphone (Connect a Mic to dial-up line RJ-11 jack) 16: Internal SpeakerDCE Result codes:
OK : if DCE accepts this command. ERROR: if device is not permitted.
0,2,8,16 OKwith <CR><LF> between each line.
The range of the value is from 0 to 2.
value = 0 (Default),
value = 1,
value = 2,
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code if value parameter is out of range.
0-2 OKwith <CR><LF> between each line.
NOTE: This does comply with IS-101
The range of the value is from 0 to 255. The units are 0.1 second. A value of zero forces the DCE to return VCON immediately after the ATD command is received.
DCE Result codes:
OK: if DCE accepts this command. ERROR: if value is out of range.
0-255 OKwith <CR><LF> between each line.
Note: This does comply with IS-101 except that ZyXEL default value is set at 70. We derived this value after conducting numerous tests and found it to be ideal with majority of the phone systems.
The range of the value is from 0 to 255. The units are 0.1 second. A value of zero forces the DCE to return VCON immediately after the ATD command is received.
DCE Result codes:
OK : if DCE accepts this command. ERROR: ifis out of range.
0-255 OKwith <CR><LF> between each line.
Note: This does comply with IS-101 except that ZyXEL default value is set to 57. Once again we derived this value from numerous tests that were conducted on different phone systems.
The DCE begins the voice receive mode by returning the CONNECT result code to the DTE. After this report, the DCE sends <DLE> shielded Voice data to the DTE.
The DTE stops the voice receive state by sending a character other
than
See the description of the <DLE> shielded codes for the difference between SILENCE and QUIET report.
The range of the sensitivity sds is from 0 to 31. Larger values of this parameter imply that the DCE should treat noisier conditions as silence. A value of zero disables the DCE silence detection; the DCE shall not report QUIET or SILENCE <DLE> shielded codes.
The range of the interval sdi is 0-255 in units of 0.1 seconds.
DCE Result codes:
OK : if DCE accept this command. ERROR: ifor is out of range.
sds,sdi OKwith <CR><LF> between each line.
(0-31),(0,255) OKwith <CR><LF> between each line.
Note: It does comply with the IS-101 except for the default values.
Our default values are 15 for or DLE and
disconect a caller. On the other hand increasing it further
could cause the phone company to intervene and therefore
continue the recording.
cml = 1, 9.6 KBps CELP (Code Excited Linear Prediction) cml = 2 (Default), 19.2 KBps 2-bit ADPCM cml = 3, 28.8 KBps 3-bit ADPCM cml = 30, 30.7kpbs new 3-bit ADPCM cml = 4, 38.4Kbps 4 bit ADPCMNote: Only PLUS enhanced models support CELP mode.
cml;scs;vsr OKwith <CR><LF> between each line. Where:
cml: compression method label. scs: silence compression sensitivity. vsr: voice sampling rate.
1;CELP;1;0;(9600) 2;ADPCM;2;0;(9600) 3;ADPCM;3;0;(9600) 30;ADPCM;3;0;(9600) 4;ADPCM;4;0;(9600) OKwith <CR><LF> between each line.
The first item in each line is the compression method label; the second item is the compression scheme; the third item is number of bits per sample; the fourth item is the silence detection threshold level; the fifth item is the sampling rate.
The range of the value is from 0 to 255. The units are 50ms. Default value is 1 (50ms).
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code if value is out of range.
The response is:
0-255 OKwith <CR><LF> between each line.
Note: Not defined in IS-101. This timer when set will allow the DTE to send this resync code(<DLE><FS>) to signify the start of a new voice data stream with the same parameters as the last stream without first returning to the Voice Command State. The IS-101 does mention about "Timing Marks" but does not specify what interval you could set, nor a method of adjusting it. This will give the user the flexibility to start a new voice data stream at different points in the data stream.
The tone generation string consists of elements in a list with each element separated by commas. Each element can be:
(0,200-3300),(0,200-3300),0-9,A-D,*,# OKwith <CR><LF> between each line.
Note: Does comply with IS-101.
The DCE begins the voice transmit mode by returning the CONNECT result code to the DTE. After this report, the DCE accepts <DLE> shielded Voice data from the DTE.
The DTE stops the voice transmit state by sending a <DLE><ETX> character pair to the DCE. On termination of the voice transmit state, the DCE will send the VCON result code.
The range of the value is from 0 to 255. The default value is 16.
Result codes:
OK: The DCE issues this result code if DCE accepts this command. ERROR: The DCE issues this result code if value parameter is out of range.
0-255 OKwith <CR><LF> between each line.
Note: Not defined in the IS-101.
DLE-shielded codes.
ZyXEL Advanced Voice Capability.