User`s manual

AT Command Reference Manual
1048 7-17
#VLS - Voice Line Select
This action command can be used to select which devices are routed through the modem.
Parameters: n = 0-9 as supported by the modem model. [This is the device position number (not device
number) as reflected in response to #VLS=?]
Default: 0
Result Codes:
OK If n = 0-9 as supported by the modem model.
VCON If device selected does not connect to the telephone line. (A speaker is such a device, but a
telephone line with speaker ON is not such a device, and generates OK.)
ERROR If n does not equal 0-9 or if telephone line or local handset is already off-hook.
Command options:
#VLS? This query returns the current setting of the #VLS command as an ASCII decimal value in result
code format.
#VLS=? This query requests a report of the device types available for selection. The response is a number
from 0 to 4 corresponding the device position number (see Table 7-5).
#VLS=0 The default option on the modem. This command instructs the modem that when entering any of
the three voice operating submodes (Online Command, Transmit, or Receive), that the telephone
line interface should be routed through the modem. The OK response is sent to the DTE, and any
previous connection is lost (i.e., the modem ends up on-hook as a result of issuing this command
to connect to the telephone line).
#VLS=1 This command instructs the modem to route only the handset through the modem. This setting
can be chosen before recording a greeting message.
#VLS=2 This command instructs the modem to route only the speaker through the modem. This setting
can be chosen before playing back any message. The modem immediately switches to Online
Voice Command Mode, and the VCON response is generated for completeness. However, since
this is an output only device, nothing of consequence can happen until the DTE sends the #VTX
command.
#VLS=3 This command instructs the modem that only the auxiliary input device (microphone) should be
routed through the modem. This setting can be chosen before recording a greeting message.
#VLS=4 This command is the same as #VLS =0, except that the modem enables the internal speaker as
well as the telephone line/handset circuit.
#VLS=5 This command selects telephone emulation mode while in #CLS=8 mode. Speakerphone
operation is entered during Voice On-line (VCON) mode after completing dialing (ATD) or
answering (ATA). #VLS=5 will respond ERROR if speakerphone is supported.
#VLS=6 This command selects speakerphone mode while in #CLS=8 mode. Telephone emulation
operation is entered during Voice On-line (VCON) mode after completing dialing (ATD) or
answering (ATA). #VLS=6 will respond ERROR if speakerphone is not supported.
#VLS=7 This command, valid after Voice On-line mode, mutes the local handset by switching the handset
or speakerphone out of the telephone line path if in #VLS=0 or #VLS=6 mode. To unmute, the
host software should issue AT#VLS=0 or AT#VLS=6 to return to phone line or speakerphone
mode, respectively. On hardware designs which incorporate the audio codec, #VLS=7 can be
used to route the codec's output through the phone line to provide music-on-hold feature.
#VLS=8 (Valid after Voice On-line mode.) This command engages the Caller ID relay to allow recording of
conversation when using a handset by routing the signal to the audio codec (if populated). To
deactivate the Caller ID relay, the host should issue an AT#VLS=0 or AT#VLS=6 to return to
phone line or speakerphone mode, respectively.
#VLS=9 This command routes the handset to the sound codec to allow recording/playback of audio (e.g.
greeting messages) through the local handset.