beautypg.com

Voice mode application examples, Recording a greeting message, Playing a voice file through the internal speaker – ZyXEL Communications Omni 288S User Manual

Page 82

background image

Chapter 10 - Voice Mode Operation

10-3

Choose your Input/Output Device by typing the appropriate AT commands.

To select the telephone (connected to phone jack) as your I/O device, type:

AT+VLS=1

To select the external microphone as your input device, type:

AT+VLS=8

To select the modem internal speaker as your output device, type:

AT+VLS=16

Note:

The external speaker simply replaces the internal speaker. As
an output device. Device selection remains the same.

Voice Mode Application Examples

Shown below are six examples of some common uses of the Omni 288S voice
mode operation, and the AT command sequences used to initiate them. The voice
application software you use will normally perform these functions automatically.

Recording a greeting message

Commands

DCE Responses

Description

AT+FCLASS=8

OK

Switch to voice mode.

AT+VSM=?

(reference table)

List the compression schemes

AT+VSM=4

OK

Select 4-bit ADPCM

compression method.

AT+VLS=1

VCON

Activate the telephone set on the
PHONE jack.

AT+VRX

CONNECT

Start recording.


OK

Stop recording, and return to
command state.

AT+VLS=0

OK

Deactivate the telephone on the

PHONE Jack.

AT+FCLASS=0

OK

Return to data mode.

Playing a voice file through the internal speaker

Commands

DCE Responses

Description

AT+FCLASS=8

OK

Switch to voice mode.

AT+VSM=?

(reference table)

List the compression schemes

AT+VSM=2

OK

Select 2-bit ADPCM

compression method.

AT+VLS=16

VCON

Activate internal speaker.

AT+VTX



OK

Start replay, then return to the
command state.