Lucent Technologies Host-Based Controller Modem AT Modem User Manual


 
Data Addendum Host-Based Controller Modem
June 15, 1998 AT Command Set
AT Voice Commands Reference (continued)
Version 1.0 Lucent Technologies Inc.
55
Example # 8: Call screening & recording a message with TAD—using the wave driver to transmit and
receive voice samples
The TAD application is loaded. The modem is initially idle, in data mode (+FCLASS=0).
Command Description
RING DCE reports ringing from remote station.
AT+FCLASS=8 The modem enters voice mode.
OK DCE responds.
AT+VGT=128 Set speaker volume to normal.
OK DCE responds.
AT+VSD=128,0 DTE selects normal silence detection sensitivity, and a silence detection interval
of 0 seconds. Disable silence detection.
OK DCE responds.
AT+VSM=129,8000 DTE selects 16-bit linear voice compression with 8.0 kHz sampling rate.
OK DCE responds.
<DLE>-R DCE detects another ring, and notifies DTE.
AT+VLS=1 The modem answers call.
OK DCE is off-hook
The TAD next plays its greeting message, issues a beep, and records the caller's message.
The Application may transmit voice samples using the wave driver. The application may issue
WAVE_OUT_OPEN and WAVE_OUT_WRITE messages to the wave driver.
At the end of the greeting message the application may issue the WAVE_OUT_STOP message to the wave
driver.
AT+VTS=[933,0,120] DTE annotates greeting message with a 1.2 second beep.
OK DCE responds.
The Application may receive voice samples using the wave driver. The application may issue
WAVE_IN_OPEN and WAVE_IN_START messages to the wave driver.
AT+VSD=128,50 DTE selects normal silence detection sensitivity and a silence detection interval
of
5 seconds. Enable silence detection.
OK DCE responds.
AT+VLS=5 Speaker is attached to system, and modem is off-hook.
OK DCE is off-hook
The caller leaves a message, and hangs up. The modem detects silence for a specified period of time,
and then notifies the DTE.
<DLE>-s DCE issues presumed end of message after silence detection interval has
elapsed.
At the end of the message the application may issue the WAVE_IN_STOP message to the wave driver.
ATH DTE issues standard command to terminate call. DCE goes on-hook,
speaker and microphone are detached from system, and modem returns to
data mode (+FCLASS=0).
OK DCE response.