| 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 |
# Class 1 configuration for a ZyXEL U1496. Class 1 |
| 31 |
# support was introduced in firmware revision 6.14. |
| 32 |
# |
| 33 |
# This configuration file sets up the ZyXEL to run at 38.4 for |
| 34 |
# both sending and receiving. RTS/CTS flow control is used on |
| 35 |
# the tty port by default. |
| 36 |
# |
| 37 |
# CONFIG:CLASS1:1496:.*:.*: Manufacturer=ZyXEL Model=U1496 |
| 38 |
# CONFIG:CLASS1:33603:.*:.*: Manufacturer=ZyXEL Model=U336S |
| 39 |
# CONFIG:CLASS1:1503:.*:.*: Manufacturer=ZyXEL Model=U90E |
| 40 |
# CONFIG:CLASS1:1500:.*:.*: Manufacturer=ZyXEL Model="Omni56K Plus" |
| 41 |
# CONFIG:CLASS1:.*:ZyXEL.*:.*: Manufacturer=ZyXEL Model=Unspecified |
| 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 |
ModemNoFlowCmd: AT&H0 # disable flow control |
| 54 |
ModemHardFlowCmd: AT&H3 # hardware flow control |
| 55 |
ModemSoftFlowCmd: AT&H4 # software flow control |
| 56 |
ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up |
| 57 |
ModemSetupDCDCmd: AT&C1 # DCD tracks carrier |
| 58 |
ModemSetupAACmd: AT+FAA=1 # enable in current class |
| 59 |
# |
| 60 |
# Additional reset commands: |
| 61 |
# |
| 62 |
# &B1 DTE-DCE rate is fixed at DTE setting |
| 63 |
# &N0 Auto-negotiate highest possible DCE-DCE link rate |
| 64 |
# &S0 DSR always on |
| 65 |
# *F0 Deny remote configuration |
| 66 |
# S38.3=1 DCD on/off sequence follows UNIX standard |
| 67 |
# |
| 68 |
ModemResetCmds: AT&B1&N0&S0*F0S38.3=1 |
| 69 |
# |
| 70 |
# We normally append the "@" symbol to the dial string so that |
| 71 |
# the modem will wait 5 seconds before attempting to connect |
| 72 |
# and return result codes that distinguish between no carrier |
| 73 |
# and no answer. This makes it possible to avoid problems with |
| 74 |
# repeatedly dialing a number that doesn't have a fax machine |
| 75 |
# (kudos to Stuart Lynne for this trick.) |
| 76 |
# |
| 77 |
# Unfortunately, ZyXEL's don't seem to detect a busy signal when |
| 78 |
# the @ symbol is used to terminate the dialing string. Instead |
| 79 |
# calls to a busy line come back with a NO CARRIER status which |
| 80 |
# causes us to toss the job. Consequently we fall back to the |
| 81 |
# normal method and raise the number of retries on a no carrier |
| 82 |
# status. ZyXEL claims that this behaviour is not a bug, but |
| 83 |
# rather that we are requesting ``an enhancement'' (never mind |
| 84 |
# that their manual says that it should work). |
| 85 |
# |
| 86 |
ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized |
| 87 |
NoCarrierRetrys: 3 # retry 3 times on no carrier |
| 88 |
# |
| 89 |
ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7" |
| 90 |
# |
| 91 |
ModemMfrQueryCmd: AT+FMFR? |
| 92 |
ModemModelQueryCmd: "!" |
| 93 |
ModemRevQueryCmd: AT+FREV? |
| 94 |
# |
| 95 |
# NB: this works around a bug in the 6.14 firmware; the modem does not |
| 96 |
# not deliver the FCS bytes in the received HDLC frame, per the spec. |
| 97 |
# |
| 98 |
Class1FrameOverhead: 2 # 6.14 firmware does not include FCS |
| 99 |
# |
| 100 |
# Caller ID configuration setup. |
| 101 |
# |
| 102 |
#CallIDPattern: "CALLER NUMBER: " # pattern string for phone number info |
| 103 |
#CallIDPattern: "CALLER NAME: " # pattern string for identity info |
| 104 |
# |
| 105 |
PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet) |