| 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 |
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP |
| 31 |
# |
| 32 |
# BEGIN-SERVER |
| 33 |
CountryCode: 1 # USA |
| 34 |
LongDistancePrefix: 1 |
| 35 |
InternationalPrefix: 011 |
| 36 |
AreaCode: 415 |
| 37 |
DialStringRules: etc/dialrules |
| 38 |
FAXNumber: +1.999.555.1212 |
| 39 |
LocalIdentifier: "NothingSetup" # default is canonical FAXNumber |
| 40 |
ServerTracing: 1 # log server-related operations |
| 41 |
SessionTracing: 11 # log server-related operations |
| 42 |
RecvFileMode: 0600 # recvd facsimile are not public |
| 43 |
LogFileMode: 0600 # private log files |
| 44 |
DeviceMode: 0600 # device is accessible only to uucp/fax |
| 45 |
GettyArgs: "-h %l dx_%s" # requires modem to auto-detect fax/data |
| 46 |
QualifyTSI: "" # do not restrict inbound facsimile |
| 47 |
SpeakerVolume: off # machine's are already too loud |
| 48 |
RingsBeforeAnswer: 1 # answer on first ring |
| 49 |
TagLineFont: etc/lutRS18.pcf # tag line font |
| 50 |
TagLineFormat: "From %%l|%c|Page %%P of %%T" |
| 51 |
MaxBadCalls: 5 # max 5 consecutive bad calls |
| 52 |
PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs |
| 53 |
MaxSendPages: 25 # max pages in an outbound job |
| 54 |
MaxRecvPages: 25 # max pages in an inbound job |
| 55 |
ContCoverPage: etc/cover.templ # enable continuation cover pages |
| 56 |
MaxConcurrentCalls: 1 # serialize jobs to the same dest |
| 57 |
TimeOfDay: "Any" # outbound jobs any day, any time |
| 58 |
# END-SERVER |
| 59 |
# |
| 60 |
# Modem-related stuff: should reflect modem command interface |
| 61 |
# and hardware connection/cabling (e.g. flow control). |
| 62 |
# |
| 63 |
#ModemType: Class1 # use this to supply a hint |
| 64 |
ModemRate: 19200 # rate for DCE-DTE communication |
| 65 |
ModemFlowControl: rtscts # RTS/CTS flow control assumed |
| 66 |
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem |
| 67 |
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) |
| 68 |
# |
| 69 |
# We can append the "@" symbol to the dial string so that |
| 70 |
# the modem will wait 5 seconds before attempting to connect |
| 71 |
# and return result codes that distinguish between no carrier |
| 72 |
# and no answer. This makes it possible to avoid problems with |
| 73 |
# repeatedly dialing a number that doesn't have a fax machine |
| 74 |
# (kudos to Stuart Lynne for this trick.) |
| 75 |
# |
| 76 |
# NB: If you need to prefix phone numbers to get through a PBX, |
| 77 |
# put it in the ModemDialCmd; e.g. "DT9%s@". |
| 78 |
# |
| 79 |
ModemDialCmd: ATDT%s # T for tone dialing |
| 80 |
# |
| 81 |
# Other possible configuration stuff. The default strings are |
| 82 |
# shown below. Only those that are different from the defaults |
| 83 |
# need to be included in the configuration file. |
| 84 |
# |
| 85 |
ModemResetCmds: "" # stuff to do when modem is reset |
| 86 |
ModemAnswerCmd: ATA # use this to answer phone |
| 87 |
ModemNoFlowCmd: AT&K # disable flow control cmd |
| 88 |
ModemHardFlowCmd: AT&K3 # hardware flow control cmd |
| 89 |
ModemSoftFlowCmd: AT&K4 # software flow control cmd |
| 90 |
ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer |
| 91 |
# |
| 92 |
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. |
| 93 |
# Note that we both turn the speaker on/off and set volume. |
| 94 |
# |
| 95 |
ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" |
| 96 |
ModemEchoOffCmd: ATE0 # disable command echo |
| 97 |
ModemVerboseResultsCmd: ATV1 # enable verbose command results |
| 98 |
ModemResultCodesCmd: ATQ0 # enable result codes |
| 99 |
ModemOnHookCmd: ATH0 # place phone on hook (hangup) |
| 100 |
ModemSoftResetCmd: ATZ # do soft reset of modem |
| 101 |
ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier |
| 102 |
ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds |
| 103 |
ModemRecvFillOrder: LSB2MSB # bit order of received facsimile |
| 104 |
ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit |