Config |
# Modem can work in Class 2.0 using config file included in Hylafax,
# but in Class 2.0, activating the modem's CallerID capabilities causes it
# to fail receiving faxes from many fax machines (but apparently not from
# other faxmodems). Looks like a modem firmware bug.
# For this reason I configure the modem in Class 1, and here CallerID works.
#
# For US Robotics 56K Faxmodem in Class 1 mode
#
# RTS/CTS flow control is used default.
#
#
CountryCode: 33
AreaCode:
FAXNumber: +33 1 23 45 67 89
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules.fr
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0600
DeviceMode: 0660
RingsBeforeAnswer: 3
SpeakerVolume: off
# We don't want a login prompt on data connection ! Let's comment this out !
# GettyArgs: "-h %l dx_%s"
LocalIdentifier: "MyCompany, Inc."
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 50
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # DCE-DTE communication rate
ModemFlowControl: rtscts # hardware flow control
#
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemResultCodesCmd: ATQ0X4 # enable extended result codes
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
ModemMfrQueryCmd: !USR
ModemModelQueryCmd: ATI3
ModemRevQueryCmd: ATI7 # XXX, returns a multi-line result
##
## When AT+FCLASS=1 is issued the modem automatically switches
## to software flow control; these parameters let the fax software
## reset flow control as needed after entering Class 1.
##
Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control
Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control
Class1SFLOCmd: "" # modem does this automatically
##
## The remainder of this configuration is included so that the
## modem "idles" in Class 0 while not sending or receiving facsimile.
##
ModemSetupAACmd: AT+FCLASS=0&H1&I0&R2 # leave modem in class 0
ModemAnswerCmd: AT+FCLASS=1&H1&I0&R2A # force RTS/CTS after change
##
## Disables the reporting of bad frames by the modem. This
## overcomes a firmware problem in the x2 and V90 Sportsters.
## It is not necessary for the Courier modem.
##
Class2NRCmd: AT+FNR=1,1,1,0
# Identify CallerID:
ModemResetCmds: AT#CID=1
CIDName: "NAME = "
CIDNumber: "NMBR = " |