| 1 |
# $Id$ |
| 2 |
# |
| 3 |
# HylaFAX Facsimile Software |
| 4 |
# |
| 5 |
# Copyright (c) 1990-1996 Sam Leffler |
| 6 |
# Copyright (c) 1991-1996 Silicon Graphics, Inc. |
| 7 |
# HylaFAX is a trademark of Silicon Graphics, Inc. |
| 8 |
# |
| 9 |
# Permission to use, copy, modify, distribute, and sell this software and |
| 10 |
# its documentation for any purpose is hereby granted without fee, provided |
| 11 |
# that (i) the above copyright notices and this permission notice appear in |
| 12 |
# all copies of the software and related documentation, and (ii) the names of |
| 13 |
# Sam Leffler and Silicon Graphics may not be used in any advertising or |
| 14 |
# publicity relating to the software without the specific, prior written |
| 15 |
# permission of Sam Leffler and Silicon Graphics. |
| 16 |
# |
| 17 |
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, |
| 18 |
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY |
| 19 |
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. |
| 20 |
# |
| 21 |
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR |
| 22 |
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, |
| 23 |
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| 24 |
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF |
| 25 |
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| 26 |
# OF THIS SOFTWARE. |
| 27 |
# |
| 28 |
|
| 29 |
# |
| 30 |
# Configuration for using the Class 1 command interface with |
| 31 |
# an AT&T DataPort 14.4 modem. Firmware version 122 (ati1) |
| 32 |
# or newer. |
| 33 |
# |
| 34 |
# Hardware flow control is used by default. |
| 35 |
# |
| 36 |
# Note that due to a bug in the 1.22 firmware the FCS bytes in the HDLC |
| 37 |
# frames are NOT returned to the host. This is fixed in versions 1.33 |
| 38 |
# and later. To deal with this problem, early firmware revs should be |
| 39 |
# sure to have Class1FrameOverhead set to 2 instead of the normal 4. |
| 40 |
# |
| 41 |
# CONFIG:CLASS1:144:.*:.*: Manufacturer='AT&T' Model=Dataport |
| 42 |
# |
| 43 |
# BEGIN-SERVER |
| 44 |
# END-SERVER |
| 45 |
# |
| 46 |
# Modem-related stuff: should reflect modem command interface |
| 47 |
# and hardware connection/cabling (e.g. flow control). |
| 48 |
# |
| 49 |
ModemType: Class1 # use class 1 interface |
| 50 |
ModemRate: 19200 |
| 51 |
ModemFlowControl: rtscts # default |
| 52 |
# |
| 53 |
ModemHardFlowCmd: AT&R0\D1\Q3 # use RTS/CTS and enable RS232 handling |
| 54 |
ModemSoftFlowCmd: AT&R1\D0\Q1 # use RTS/CTS and enable RS232 handling |
| 55 |
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem |
| 56 |
ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier |
| 57 |
ModemSetupAACmd: AT+FAA=0 # disable in case of Class 2 support |
| 58 |
# |
| 59 |
ModemMfrQueryCmd: !AT&T |
| 60 |
ModemModelQueryCmd: !DataPort |
| 61 |
ModemRevQueryCmd: ATI19 |
| 62 |
# |
| 63 |
# NB: this works around a bug in the 1.22 firmware; it is fixed |
| 64 |
# in versions 1.33 and later in which case you can remove this |
| 65 |
# line and use the default value of 4 (though leaving it as 2 |
| 66 |
# won't harm anything). |
| 67 |
# |
| 68 |
Class1FrameOverhead: 2 # 1.22 firmware does not include FCS |
| 69 |
# |
| 70 |
# The modem returns "OK" when there is a timeout before carrier is |
| 71 |
# established. This is treated as "NO CARRIER" by faxd. Thus we |
| 72 |
# need to up the NoCarrierRetrys parameter to avoid having the server |
| 73 |
# reject jobs prematurely. |
| 74 |
# |
| 75 |
NoCarrierRetrys: 3 # retry 3 times on no carrier |
| 76 |
# |
| 77 |
PagerSetupCmds: ATS41=10%B300 # use V.21 at 300 bps |