# $Id: intel-400e,v 1.2 2002/04/07 20:29:26 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software and 
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.
#

#
# Configuration for using the Class 1 command interface with an
# Intel SatisFAXtion 400e modem.  Modems with firmware revision
# U10,U20-28F001BX-5.00 are known to work.
#
# RTS/CTS flow control is used.  The following profile was used:
#
# ACTIVE PROFILE:
# B0 E1 L2 M0 T Q0 V1 X4 Y0 &C1 &D3 &G0 &L0 &P0 &Q0 &R0 &S0 &X0 &Y0
# \A3 %A013 \C0 %C1 %E1 \G0 \J0 \K5 \N3 \Q3 \T00 \V2 \X0 -J1 "H3 "S0 "O250
# S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:030
# S08:002 S09:006 S10:014 S11:070 S12:050 S18:000 S25:005 S26:001 S31:000
#
# CONFIG:CLASS1:149:.*:RTSCTS: Manufacturer=Intel Model=400e
# CONFIG:CLASS1:149:.*:DEFAULT: Manufacturer=Intel Model=400e
#
# BEGIN-SERVER
# END-SERVER
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class1		# use this to supply a hint
ModemRate:		19200		# rate for DCE-DTE communication
ModemFlowControl:	rtscts		# default
#
ModemHardFlowCmd:	AT\Q3		# set desired flow control method
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemSetupAACmd:	AT+FCLASS=0	# leave modem idling in Class 0
#
ModemMfrQueryCmd:	!Intel
ModemModelQueryCmd:	!SatisFAXtion 400e
ModemRevQueryCmd:	ATI3
#
# A shorter than normal timer is required for incoming calls to
# avoid timing out most data callers when using adaptive answer.
#
Class1RecvIdentTimer:	15000		# shorter timer for incoming ID
AdaptiveAnswer:		yes		# alternate fax/data answer on error
AnswerRotary:		"fax data"	# try fax first, then data
ModemAnswerCmd:		AT+FCLASS=1A	# "generic" answer (counter 0 idle)
#
# HACK:  Make sure the phone is on on-hook before answering in data mode.
# This allows a crude adaptive answer capability by taking advantage of
# the fact that, in the US at least, the phone company won't drop the
# caller for ten seconds.
#
ModemAnswerDataCmd:	ATH+FCLASS=0A	# data answer
ModemAnswerFaxCmd:	AT+FCLASS=1A	# fax answer
#
#GettyArgs:		"-h %l dx_%s"	# NB: enable this for dialins (SGI)
#GettyArgs:		"std.%s -"	# NB: enable this for dialins (SunOS)
#GettyArgs:	"-g -h -t 60 -l ff_%s"	# NB: enable this for dialins (SVR4.2)
