Chapter 4 – Voice Commands
Multi-Tech Systems, Inc. AT Commands for the MultiModem & SocketModem MT9234 Series (S000434H)
49
+VLS
Select Analog Source/Destination
Description:
Selects one or more source/destination devices for the analog data to be transmitted.
The parameter <label> identifies each of the supported analog source/destination
hardware devices. Codes, called "primitives", are provided to describe which voice
I/O device(s) are components in a possible hardware configuration. The codes are
grouped to help define and label 16 common hardware configurations. Each code,
except "L" and "T" is followed by an ASCII 0 code (20 hex). Two codes can be
concatenated to define a possible analog source/destination hardware configuration.
Syntax: AT+VLS=<label>
Values:
<label>
A decimal number corresponding to the selected analog source/destination
hardware configuration:
<label> Code(s)* Description
0
none
Modem on-hook. Local phone connected to Telco. Default.
1
T
Modem off-hook, and connected to Telco. Local phone
provided with power to detect hook condition.
2
L
Modem off-hook. Local phone connected to modem.
3
LT
Modem off-hook. Local phone connected to Telco. Modem
connected to Telco.
4
S
Internal speaker connected to the modem. Modem is on-hook.
Local phone connected to Telco.
5
ST
Internal speaker connected to Telco. Modem off-hook. Modem
connected to Telco. Local phone provided with power to detect
hook condition.
6
M
Internal microphone connected to modem. Modem is on-hook.
Local phone connected to Telco.
7
MST
Internal microphone and internal speaker connected to Telco.
Squelching active. Modem is off-hook, and connected to Telco.
Local phone provided with power to detect hook condition.
*Codes:
L
Local Phone
T Telephone
Line
M Internal
Microphone
M1 External
Microphone
S Internal
Speaker
S1 External
Speaker
H
External Microphone and Microphone combination
(handset or headset)
Result Codes:
OK if command accepted.
ERROR if the <label> parameter is out of range or if the modem cannot service the
<label> parameter requested.
Reports:
+VLS?
Displays current or selected values.
+VLS=? +VLS=? displays the modem's current source and destination device
information for the analog data to be transmitted. Refer to the +VLS=
<label> command for label code and description information. Note that the
+VEM command contains more information about event reporting.
Example:
Shows the modem reporting that it supports only a Telco line at Service Level C:
AT+VLS=?
0,"",0A0001000,0E601800,1A803840
1, "T", 0A0001000,0E601800,1A803840
Response: <label>,<devices>,transmit event>,<receive event>,<idle event>
where
<label>
Identifies the modem analog source/destination hardware
configuration
<devices>
a <string constant> made up of Primitives.
<xxxx event>
<transmit event>,<receive event>, and <idle event>
subparameters are the DCE event reporting capabilities for
the Voice Transmit State, Voice Receive State, and the
Voice Command State respectively. Each of the event
reporting subparameters is a hex number that represents an
event bit field.
electronic components distributor