HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Numerous problems with HF4.1 & MicroLink 56k Fun IIa



Hello all,
we keep having problems with our HylaFax4.1 system using an Elsa
Microlink 56k Fun IIa (not the old II, the newer IIa). We've tried many
tweaks to the configuration, but I'm not that much of a fax expert as to
know how we can fix the problems we keep having - both are with sending
faxes, not with receiving.

There are two major difficulties:

1. Every now and then, faxes that are sent out are garbled. Some lines
   are missing, others are all black. This doesn't seem to depend on
   the number we're dialing, as a followup fax almost always comes out
   fine.

2. HylaFax repeats trasmissions that have gone through fine thinking
   they failed; as far as I unserstand the report, HF doesn't like the
   answer he's getting at the end of the transmission and decides
   something must have gone wrong. Understandably, the people we fax to
   don't like it getting the whole fax three d*mn times - but as with
   the above error, this problem comes up erratically, with no apparent
   system.

I include our fax configuration, the modem config and a sample report
for the seconds problem. Any help is greatly appreciated, as I am about
ready to throw the d*mn modem out the window now. :-Z

Speaking of throwing out: can anybody recommend a modem still available
that *definitely* works *flawlessly* with HylaFax for sending *and*
receiving faxes? Again, any pointers are appreciated.

Greetings and
Thanks in advance
Kasi Mir
-----------------------------------------------------------------------
config:

LogFacility:            daemon
CountryCode:            49
AreaCode:               40
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          527
ModemGroup:             any
-----------------------------------------------------------------------
config.modem:

CountryCode:            49
AreaCode:               40
FAXNumber:              +49.40.nnnnnnnn
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          527
SessionTracing:         527
RecvFileMode:           0666
LogFileMode:            0666
DeviceMode:             0666
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "xxxxx xxx"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
PercentGoodLines:       85
MaxConsecutiveBadLines: 10
MaxRecvPages:           255
UUCPLockTimeout:        15

#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class2          # use this to supply a hint
ModemRate:              38400           # max rate for DCE-DTE communication
ModemFlowControl:       rtscts          # XON/XOFF flow control assumed
#ModemSetupDTRCmd:      AT&D2           # setup so DTR drop resets modem
#ModemSetupDCDCmd:      AT&C1           # setup so DCD reflects carrier (or not)
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
ModemDialCmd:           ATDT%s          # T for tone dialing, @ for silence
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
ModemResetCmds:         at&Fx3          # stuff to do when modem is reset
#ModemAnswerCmd:        ATA             # use this to answer phone
#ModemNoFlowCmd:        AT&K            # disable flow control cmd
#ModemHardFlowCmd:      AT&K3           # hardware flow control cmd
#ModemSoftFlowCmd:      AT&K4           # software flow control cmd

#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:     "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:       ATE0            # disable command echo
#ModemVerboseResultsCmd:        ATV1    # enable verbose command results
#ModemResultCodesCmd:   ATQ0            # enable result codes
ModemOnHookCmd:         +++ATH0         # place phone on hook (hangup)
ModemSoftResetCmd:      AT&FX3          # do soft reset of modem
#ModemWaitTimeCmd:      ATS7=60         # wait 60 seconds for carrier
#ModemCommaPauseTimeCmd: ATS8=2         # comma pause time is 2 seconds
#ModemRecvFillOrder:    LSB2MSB         # bit order of received facsimile
#ModemSendFillOrder:    LSB2MSB         # bit order modem expects for transmit
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd:              AT+FCLASS=2     # command to enter class 2
Class2BORCmd:           AT+FBOR=0       # bit order for phase B/C/D (direct)
Class2RELCmd:           AT+FREL=1       # byte-align EOL codes on recv
Class2CQCmd:            ""              # commands to enable copy quality proc.
Class2AbortCmd:         AT+FK           # abort session command
Class2CQQueryCmd:       AT+FCQ=?        # query for copy quality capabilities
Class2DCCQueryCmd:      AT+FDCC=?       # query for modem capabilities
Class2TBCCmd:           AT+FTBC=0       # setup stream mode
Class2CRCmd:            AT+FCR=1        # enable capability to receive
Class2PHCTOCmd:         AT+FPHCTO=30    # set phase C timeout parameter
Class2BUGCmd:           AT+FBUG=1       # enable HDLC frame tracing
Class2LIDCmd:           AT+FLID         # set local identifier command
Class2DCCCmd:           AT+FDCC         # set modem capabilities command
Class2DISCmd:           AT+FDIS         # set session parameters command
Class2DDISCmd:          ""              # disable pre-dial DIS command hack
Class2CIGCmd:           AT+FCIG         # set polling identifier command
Class2PTSCmd:           AT+FPTS         # set post-page status command
Class2SPLCmd:           AT+FSPL         # set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger:  ""              # character sent to modem to start recv
Class2XmitWaitForXON:   yes             # if true, wait for XON before send
-----------------------------------------------------------------------
sample report:

May 13 10:29:57.38: [20241]: SESSION BEGIN 00001628 49361xxxxxxx
May 13 10:29:57.38: [20241]: HylaFAX (tm) Version 4.1
May 13 10:29:57.38: [20241]: SEND FAX: JOB 370 DEST 0361-xxxxxxx COMMID 00001628
May 13 10:29:57.38: [20241]: DEVICE '/dev/ttyS1'
May 13 10:29:57.38: [20241]: MODEM set DTR OFF
May 13 10:29:57.38: [20241]: DELAY 75 ms
May 13 10:29:57.46: [20241]: MODEM set DTR ON
May 13 10:29:57.46: [20241]: DELAY 2600 ms
May 13 10:30:00.06: [20241]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
May 13 10:30:00.06: [20241]: MODEM flush i/o
May 13 10:30:00.06: [20241]: <-- [7:AT&FX3\r]
May 13 10:30:00.14: [20241]: --> [2:OK]
May 13 10:30:00.14: [20241]: <-- [7:at&Fx3\r]
May 13 10:30:00.22: [20241]: --> [6:at&Fx3]
May 13 10:30:00.22: [20241]: --> [2:OK]
May 13 10:30:00.22: [20241]: <-- [5:ATE0\r]
May 13 10:30:05.22: [20241]: MODEM TIMEOUT: reading line from modem
May 13 10:30:05.22: [20241]: MODEM <Timeout>
May 13 10:30:05.22: [20241]: MODEM set DTR OFF
May 13 10:30:05.22: [20241]: DELAY 75 ms
May 13 10:30:05.30: [20241]: MODEM set DTR ON
May 13 10:30:05.30: [20241]: DELAY 2600 ms
May 13 10:30:07.90: [20241]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
May 13 10:30:07.90: [20241]: MODEM flush i/o
May 13 10:30:07.90: [20241]: <-- [7:AT&FX3\r]
May 13 10:30:07.98: [20241]: --> [6:AT&FX3]
May 13 10:30:07.98: [20241]: --> [2:OK]
May 13 10:30:07.98: [20241]: <-- [7:at&Fx3\r]
May 13 10:30:08.06: [20241]: --> [6:at&Fx3]
May 13 10:30:08.06: [20241]: --> [2:OK]
May 13 10:30:08.06: [20241]: <-- [5:ATE0\r]
May 13 10:30:08.07: [20241]: --> [4:ATE0]
May 13 10:30:08.07: [20241]: --> [2:OK]
May 13 10:30:08.07: [20241]: <-- [5:ATV1\r]
May 13 10:30:08.08: [20241]: --> [2:OK]
May 13 10:30:08.08: [20241]: <-- [5:ATQ0\r]
May 13 10:30:08.09: [20241]: --> [2:OK]
May 13 10:30:08.09: [20241]: <-- [7:ATS0=0\r]
May 13 10:30:08.10: [20241]: --> [2:OK]
May 13 10:30:08.10: [20241]: <-- [7:ATS8=2\r]
May 13 10:30:08.11: [20241]: --> [2:OK]
May 13 10:30:08.11: [20241]: <-- [8:ATS7=60\r]
May 13 10:30:08.12: [20241]: --> [2:OK]
May 13 10:30:08.12: [20241]: <-- [12:AT+FCLASS=2\r]
May 13 10:30:08.13: [20241]: --> [2:OK]
May 13 10:30:08.13: [20241]: <-- [10:AT+FTBC=0\r]
May 13 10:30:08.14: [20241]: --> [2:OK]
May 13 10:30:08.14: [20241]: <-- [10:AT+FBOR=0\r]
May 13 10:30:08.15: [20241]: --> [2:OK]
May 13 10:30:08.15: [20241]: <-- [13:AT+FPHCTO=30\r]
May 13 10:30:08.16: [20241]: --> [2:OK]
May 13 10:30:08.16: [20241]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r]
May 13 10:30:08.18: [20241]: --> [2:OK]
May 13 10:30:08.18: [20241]: <-- [5:ATM0\r]
May 13 10:30:08.19: [20241]: --> [2:OK]
May 13 10:30:08.19: [20241]: MODEM input buffering enabled
May 13 10:30:08.19: [20241]: <-- [12:AT+FCLASS=2\r]
May 13 10:30:08.30: [20241]: --> [2:OK]
May 13 10:30:08.30: [20241]: <-- [10:AT+FTBC=0\r]
May 13 10:30:08.41: [20241]: --> [2:OK]
May 13 10:30:08.41: [20241]: <-- [10:AT+FBOR=0\r]
May 13 10:30:08.52: [20241]: --> [2:OK]
May 13 10:30:08.52: [20241]: <-- [13:AT+FPHCTO=30\r]
May 13 10:30:08.63: [20241]: --> [2:OK]
May 13 10:30:08.63: [20241]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r]
May 13 10:30:08.75: [20241]: --> [2:OK]
May 13 10:30:08.75: [20241]: <-- [21:AT+FLID="xxxxxx xxx"\r]
May 13 10:30:08.86: [20241]: --> [2:OK]
May 13 10:30:08.86: [20241]: DIAL 03617968065
May 13 10:30:08.86: [20241]: <-- [16:ATDT03617968065\r]
May 13 10:30:37.54: [20241]: --> [5:+FCON]
May 13 10:30:37.54: [20241]: --> [71:+FNSF:0,0,17,128,0,128,73,16,79,75,45,65,85,84,79,77,65,84,69,78,32,32,]
May 13 10:30:37.54: [20241]: REMOTE NSF "0,0,17,128,0,128,73,16,79,75,45,65,85,84,79,77,65,84,69,78,32,32,"
May 13 10:30:37.54: [20241]: NSF remote fax equipment: unknown
May 13 10:30:37.54: [20241]: --> [34:32,32,0,77,0,128,128,128,6,1,1,1,1]
May 13 10:30:38.20: [20241]: --> [28:+FCSI:"     +49 361 xxxxxxx"]
May 13 10:30:38.20: [20241]: REMOTE CSI "+49 361 xxxxxxx"
May 13 10:30:38.48: [20241]: --> [21:+FDIS:1,3,0,2,1,0,0,5]
May 13 10:30:38.48: [20241]: --> [2:OK]
May 13 10:30:38.48: [20241]: REMOTE best rate 9600 bit/s
May 13 10:30:38.48: [20241]: REMOTE max page width 1728 pixels in 215 mm
May 13 10:30:38.48: [20241]: REMOTE max unlimited page length
May 13 10:30:38.48: [20241]: REMOTE best vres 7.7 line/mm
May 13 10:30:38.48: [20241]: REMOTE best format 2-D MR
May 13 10:30:38.48: [20241]: REMOTE best 20 ms/scanline
May 13 10:30:38.48: [20241]: USE 9600 bit/s
May 13 10:30:38.48: [20241]: USE 20 ms/scanline
May 13 10:30:38.48: [20241]: SEND file "docq/doc362.ps;41"
May 13 10:30:38.48: [20241]: USE page width 1728 pixels in 215 mm
May 13 10:30:38.48: [20241]: USE unlimited page length
May 13 10:30:38.48: [20241]: USE 7.7 line/mm
May 13 10:30:38.48: [20241]: USE 2-D MR
May 13 10:30:38.48: [20241]: <-- [24:AT+FDIS=1,3,0,2,1,0,0,5\r]
May 13 10:30:38.60: [20241]: --> [2:OK]
May 13 10:30:38.60: [20241]: <-- [7:AT+FDT\r]
May 13 10:30:44.06: [20241]: --> [21:+FDCS:1,3,0,2,1,0,0,5]
May 13 10:30:44.06: [20241]: --> [7:CONNECT]
May 13 10:30:44.06: [20241]: SEND wait for XON
May 13 10:30:44.06: [20241]: --> [1:]
May 13 10:30:44.06: [20241]: SEND begin page
May 13 10:31:04.66: [20241]: SENT 20458 bytes of data
May 13 10:31:04.66: [20241]: SEND end page
May 13 10:31:22.74: [20241]: --> [2:OK]
May 13 10:31:22.74: [20241]: SEND send EOP (no more pages or documents)
May 13 10:31:22.74: [20241]: <-- [9:AT+FET=2\r]
May 13 10:31:25.96: [20241]: --> [7:+FPTS:2]
May 13 10:31:25.96: [20241]: --> [2:OK]
May 13 10:31:25.96: [20241]: SEND recv RTN (retrain negative)
May 13 10:31:25.96: [20241]: <-- [24:AT+FDIS=1,2,0,2,1,0,0,5\r]
May 13 10:31:26.08: [20241]: --> [2:OK]
May 13 10:31:26.08: [20241]: <-- [7:AT+FDT\r]
May 13 10:31:31.55: [20241]: --> [21:+FDCS:1,2,0,2,1,0,0,5]
May 13 10:31:31.55: [20241]: --> [7:CONNECT]
May 13 10:31:31.55: [20241]: SEND wait for XON
May 13 10:31:31.55: [20241]: --> [1:]
May 13 10:31:31.55: [20241]: SEND begin page
May 13 10:31:54.53: [20241]: SENT 20458 bytes of data
May 13 10:31:54.53: [20241]: SEND end page
May 13 10:32:13.18: [20241]: --> [2:OK]
May 13 10:32:13.18: [20241]: SEND send EOP (no more pages or documents)
May 13 10:32:13.18: [20241]: <-- [9:AT+FET=2\r]
May 13 10:32:16.55: [20241]: --> [7:+FPTS:2]
May 13 10:32:16.55: [20241]: --> [2:OK]
May 13 10:32:16.55: [20241]: SEND recv RTN (retrain negative)
May 13 10:32:16.55: [20241]: <-- [24:AT+FDIS=1,1,0,2,1,0,0,5\r]
May 13 10:32:16.67: [20241]: --> [2:OK]
May 13 10:32:16.67: [20241]: <-- [7:AT+FDT\r]
May 13 10:32:22.81: [20241]: --> [21:+FDCS:1,1,0,2,1,0,0,5]
May 13 10:32:22.81: [20241]: --> [7:CONNECT]
May 13 10:32:22.81: [20241]: SEND wait for XON
May 13 10:32:22.81: [20241]: --> [1:]
May 13 10:32:22.81: [20241]: SEND begin page
May 13 10:32:52.58: [20241]: SENT 20458 bytes of data
May 13 10:32:52.58: [20241]: SEND end page
May 13 10:33:12.58: [20241]: --> [2:OK]
May 13 10:33:12.58: [20241]: SEND send EOP (no more pages or documents)
May 13 10:33:12.58: [20241]: <-- [9:AT+FET=2\r]
May 13 10:33:16.20: [20241]: --> [7:+FPTS:2]
May 13 10:33:16.20: [20241]: --> [2:OK]
May 13 10:33:16.20: [20241]: SEND recv RTN (retrain negative)
May 13 10:33:16.20: [20241]: <-- [6:AT+FK\r]
May 13 10:33:17.49: [20241]: --> [7:+FHNG:2]
May 13 10:33:17.49: [20241]: REMOTE HANGUP: Call aborted,  from +FK or <CAN> (code 2)
May 13 10:33:17.49: [20241]: --> [2:OK]
May 13 10:33:17.49: [20241]: SEND: Unable to transmit page (giving up after 3 attempts); Giving up after 3 attempts to send same page "docq/doc362.ps;41", dirnum 0
May 13 10:33:17.49: [20241]: <-- [8:+++ATH0\r]
May 13 10:33:17.64: [20241]: --> [2:OK]
May 13 10:33:17.64: [20241]: MODEM set DTR OFF
May 13 10:33:17.64: [20241]: SESSION END
-----------------------------------------------------------------------



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions