RunPager CD	Phone Call Detour
		Information Sheet 4 - Speaker Phone Commands
		(c) Copyright 1997 RunPager Software Engineering

----------------------------------------------------------------

Modem IC Manufacturer

	Selects the default speaker phone commands for Rockwell
and Cirrus Logic based modems.  This program has been tested
on a Rockwell based Zoom 28.8 voice\fax\data modem. 
 
	I think the Cirrus Logic commands are proper but I have 
not tested them.  

	If you have a Cirrus Logic based modem or a modem with 
other than a Rockwell chip set you should be able to get all of 
the commands to operate this program from your modem manual.
Just find in your modem manual commands that accomplish the same
function as their Rockwell counterparts as outlined below:

----------------------------------------------------------------

Answer Commands - Originate Commands

	This switch alternates between the speaker phone answer 
commands and the call originate commands.

(Rockwell Commands Shown)

	Answer Call Commands

AT#CLS=8	enter voice mode
AT#VLS=6	select the speaker phone
ATA		runpager answers the phone here
AT#SPK=1,5,1	set the speaker phone settings, mode, volume, 
		mic gain

AT#VBT=1#VTS=D	speaker phone beep command, beeps thru the phone
		if empty then beeps go thru the computer system

	Originate Call Commands

AT#CLS=8	enter voice mode
AT#VLS=6	select the speaker phone
AT#VRN=0	set the ring back never came timer to zero
ATDT		runpager dials the phone number here
AT#SPK=1,5,1	set the speaker phone settings, mode, volume, 
		mic gain


----------------------------------------------------------------

(Advanced Rockwell Information Shown Below)

	If you want to turn off the speaker phone speaker use:

AT#SPK=1,16,1 in place of AT#SPK=1,5,1

	If you want to turn off the speaker and mic use:

AT#SPK=1,16,0 in place of AT#SPK=1,5,3

	For the speaker 
			the lowest setting = 16
			    the highest is = 0
	For the microphone
			the lowest setting = 0
			    the highest is = 3

<mute> 	Mute Parameter Number
	0 	microphone mute
	1	microphone on (default)
	2	Room Monitor mode (mic on max AGC, speaker off)
<spkr> 	Speaker Output Attentuation (
	Range: 0 to15 (speaker attenuation in 2 dB steps)
	0	0 dB attneuation
	.
	5	10 dB attenuation (default)
	.
	15	30 dB attentuation
	16	Speaker mute
<mic>	Microphone Gain Parameter
	Range: 0 to 3\
	0	0 dB
	1	6 dB gain (default)
	2	9.5 dB gain
	3	12 dB gain

----------------------------------------------------------------

Distinctive Ring Enable Command

	This command enables the modem to report the various ring
types 1, 2, or 3.

	AT-SDR=0

----------------------------------------------------------------

(Advanced Rockwell Information Shown Below)

-SDR=n -  Enable/Disable Distinctive Ring
This command enables or disables detection and reporting of 
distinctive ring. The syntax is AT-SDR=n, where n is a number 
from 0 to 7. One, two, or three distinctive ring types can be
simultaneously enabled depending upon the value of n (bit mapped). 
The detected ring type is reported in the long form (verbose)
of the result code by appending the ring type number to the
end of the RING message.

-SDR=0	Disables Distinctive Ring. Any valid ring detected is 
	reported as RING (default).
-SDR=1	Enables Distinctive Ring Type 1.
-SDR=2	Enables Distinctive Ring Type 2.
-SDR=3	Enables Distinctive Ring Type 1 and 2.
-SDR=4	Enables Distinctive Ring Type 3.
-SDR=5	Enables Distinctive Ring Type 1 and 3.
-SDR=6	Enables Distinctive Ring Type 2 and 3.
-SDR=7	Enables Distinctive Ring Type 1, 2, and 3.

Result Codes:
OK	n = 0 to 7.
ERROR	Otherwise.

The n value bit map is:

	Bit 0=1	Enable RING type 1. RING type 1 is detected and 
reported as RING1.
	Bit 1=1	Enable RING type 2. RING type 2 is detected and 
reported as RING2.
	Bit 2=1	Enable RING type 3. RING type 3 is detected and 
reported as RING3.

The ring types supported and the corresponding ring cadence 
detect criteria are: Distinctive Ring TypeRing Cadence Detect 
Criteria12.0 sec ON, 4.0 sec OFF.20.8 sec ON, 0.4 sec OFF, 
0.8 sec ON, 4.0 sec OFF.30.4 sec ON, 0.2 sec OFF, 0.4 sec ON, 
0.2 sec OFF, 0.8 sec ON, 4.0 sec OFF.

Notes:

1.	The Ring Indicate (RI) output does not toggle on the 
first ring if AT-SDR0.
2.	The RI output waveform is the same for all ring types 
detected, i.e., RI is on for the total duration of the ring period.
-SSE=n - Enable/Disable DSVD
This command enables or disables DSVD (digital simultaneous 
voice and data) in modem models supporting DSVD. The syntax is 
AT-SSE=n, where n is a number from 0 to 1.
-SSE=0	Disables DSVD (default).
-SSE=1	Enables DSVD.

Result Codes:
OK	n = 0 and 1.
ERROR	Otherwise.

----------------------------------------------------------------

Caller-ID Enable\Disable Commands

	These command enable\disable the modem caller-id 
call detection.

AT#CID=1	the rockwell enable command

AT#CID=0	the rockwell disable command

----------------------------------------------------------------

(Advanced Rockwell Information Shown Below)

	Please Note: This program does not detect the unformatted 
type caller-id response.

#CID - Enable Caller ID Detection and Select Reporting Format
This command selects or disables Caller ID recognition and 
reporting in any mode.

Parameters:	n = 0, 1, or 2
Default:	0

Result Codes:
OK	n = 0, 1, or 2.
ERROR 	Otherwise.
Command options:

#CID?	Returns the current setting (0,1 or 2) of the #CID command 
as an ASCII decimal value in
result code format.

#CID=?	Returns the message, 0, 1, 2.
#CID=0	Disables Caller ID.
#CID=1	Enables formatted Caller ID reporting of ICLID SDM 

(Single Data Message) and
MDM (Multiple Data Message) packets.
#CID=2	Enables unformatted Caller ID reporting of any ICLID
packet received after the first RING cycle including SDM, MDM, 
or call waiting packets.


