| 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 an |
| 31 |
# Intel SatisFAXtion 400e modem. Modems with firmware revision |
| 32 |
# U10,U20-28F001BX-5.00 are known to work. |
| 33 |
# |
| 34 |
# RTS/CTS flow control is used. The following profile was used: |
| 35 |
# |
| 36 |
# ACTIVE PROFILE: |
| 37 |
# B0 E1 L2 M0 T Q0 V1 X4 Y0 &C1 &D3 &G0 &L0 &P0 &Q0 &R0 &S0 &X0 &Y0 |
| 38 |
# \A3 %A013 \C0 %C1 %E1 \G0 \J0 \K5 \N3 \Q3 \T00 \V2 \X0 -J1 "H3 "S0 "O250 |
| 39 |
# S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:030 |
| 40 |
# S08:002 S09:006 S10:014 S11:070 S12:050 S18:000 S25:005 S26:001 S31:000 |
| 41 |
# |
| 42 |
# CONFIG:CLASS1:149:.*:RTSCTS: Manufacturer=Intel Model=400e |
| 43 |
# CONFIG:CLASS1:149:.*:DEFAULT: Manufacturer=Intel Model=400e |
| 44 |
# |
| 45 |
# BEGIN-SERVER |
| 46 |
# END-SERVER |
| 47 |
# |
| 48 |
# Modem-related stuff: should reflect modem command interface |
| 49 |
# and hardware connection/cabling (e.g. flow control). |
| 50 |
# |
| 51 |
ModemType: Class1 # use this to supply a hint |
| 52 |
ModemRate: 19200 # rate for DCE-DTE communication |
| 53 |
ModemFlowControl: rtscts # default |
| 54 |
# |
| 55 |
ModemHardFlowCmd: AT\Q3 # set desired flow control method |
| 56 |
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem |
| 57 |
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) |
| 58 |
ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in Class 0 |
| 59 |
# |
| 60 |
ModemMfrQueryCmd: !Intel |
| 61 |
ModemModelQueryCmd: !SatisFAXtion 400e |
| 62 |
ModemRevQueryCmd: ATI3 |
| 63 |
# |
| 64 |
# A shorter than normal timer is required for incoming calls to |
| 65 |
# avoid timing out most data callers when using adaptive answer. |
| 66 |
# |
| 67 |
Class1RecvIdentTimer: 15000 # shorter timer for incoming ID |
| 68 |
AdaptiveAnswer: yes # alternate fax/data answer on error |
| 69 |
AnswerRotary: "fax data" # try fax first, then data |
| 70 |
ModemAnswerCmd: AT+FCLASS=1A # "generic" answer (counter 0 idle) |
| 71 |
# |
| 72 |
# HACK: Make sure the phone is on on-hook before answering in data mode. |
| 73 |
# This allows a crude adaptive answer capability by taking advantage of |
| 74 |
# the fact that, in the US at least, the phone company won't drop the |
| 75 |
# caller for ten seconds. |
| 76 |
# |
| 77 |
ModemAnswerDataCmd: ATH+FCLASS=0A # data answer |
| 78 |
ModemAnswerFaxCmd: AT+FCLASS=1A # fax answer |
| 79 |
# |
| 80 |
#GettyArgs: "-h %l dx_%s" # NB: enable this for dialins (SGI) |
| 81 |
#GettyArgs: "std.%s -" # NB: enable this for dialins (SunOS) |
| 82 |
#GettyArgs: "-g -h -t 60 -l ff_%s" # NB: enable this for dialins (SVR4.2) |
| 83 |
|
| 84 |
Class1PPMWaitCmd: "<delay\0727>" # \072 == : to avoid awk problem |
| 85 |
Class1TCFWaitCmd: "<delay\0727>" |
| 86 |
Class1EOPWaitCmd: "<delay\0729>" |
| 87 |
Class1SwitchingCmd: "<delay\0727>" |