beautypg.com

Multi-Tech Systems MT5600SMI-34 User Manual

Page 105

background image

Chapter 7 – Voice Commands

Multi-Tech Systems, Inc. SocketModem MT5600SMI Developer’s Guide

105

Reporting Supported Range of Parameter Values:

Command: +VTS=?
Response: ( range), ( range), ( range)
Example: (200-3000),(200-3000),(0-255)
OK

Result Codes:

OK Valid command.
ERROR

The command is invalid, or a selected frequency is out of range.

Example 1.

This example illustrates tone generation without using any null elements.
The command example is followed by a description of command execution.

AT+VTS= {!,30},1,2,[1000,1300,50],!,{*,6},[800,1300,50],9

1. Hookflash with a duration of 300 ms.
2. Play DTMF 1 with duration given by the +VTD command.
3. Play DTMF 2 with duration given by the +VTD command.
4. Play tone pair at 1 000 Hz and 1 300 Hz with a duration of 500 ms.
5. Hookflash with duration given by the +VTD command.
6. Play DTMF * with duration of 60 ms.
7. Play tone pair at 800 Hz and 1300 Hz with duration of 500 ms.
8. Play DTMF 9 with duration given by the +VTD command.

Example 2.

This example illustrates tone generation using null elements. The command
example is followed by a description of command execution.

AT+VTS=1,2,[1000,1300,50],[800],9

1. Play DTMF 1 with duration given by the +VTD command.
2. Play DTMF 2 with duration given by the +VTD command.
3. Play tone pair at 1000 Hz and 1300 Hz with a duration of 500 ms.
4. Play tone pair at 800 Hz with duration given by the +VTD command.
5. Play DTMF 9 with duration given by the +VTD command.

Example 3.

This example illustrates tone generation using null elements and periods of
silence.

The command example is followed by a description of command execution.

AT+VTS=1,[,,50],2,[],9

1. Play DTMF 1 with duration given by the +VTD command.
2. Play silence with duration of 500 ms.
3. Play DTMF 2 with duration given by the +VTD command.
4. Play silence with duration given by the +VTD command.
5. Play DTMF 9 with duration given by the +VTD command.

Command: +VTX

Start Modem Transmit (Playback)

Description:

This command causes the modem to start the voice transmission process.

Syntax:

+VTX

Result Codes:

CONNECT The modem accepts the command.
ERROR The modem is not connected to at least one off-hook telephone line
or one non-telephone line.

Command: +VGR

Voice Gain Receive (Record Gain)

Description:

This command causes the modem to set the gain for received voice samples.

Syntax:

+VGR= 0 (only valid number) selects automatic gain control

Reporting Current or Selected Values:

Command: +VGR?
Response:
Example: 0 For the default setting.

Reporting Supported Range of Parameter Values:

Command: +VGR=?
Response: range
Example: 0

Result Codes:

OK = 0.
ERROR Otherwise, or if not in Voice Mode.