HylaFAX The world's most advanced open source fax server

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

[hylafax-users] COMREC error (code 72)



After successfully testing a Hylafax server, thanks to some assistance from
the list, I moved it into production last week. Of course, things then went
kaplooey. I am thinking that it may have been the fault of the phone line.
The phone line I placed it on for production comes off of our T1 circuit,
the line I was testing it on was a true analog. We had a fax machine, HP
Laserjet 3100, on the prodution line prior, but I am wondering if the line
and the modem had some issues communicating effectively. About two-thirds of
the faxes received on that particular machine this weekend failed, all
giving the COMREC error as the resaon. I searched through the archives and
the FAQ prior to posting, but I did not find anything which really seemed to
give me an answer. Is this a modem issue, a line issue, or a config issue?
Any answers/directions in which to look are appreciated.
My server is a Pentium 166, Red Hat 7.1, Hylafax-4.1beta3 installed from
source, Hayes Accura 33.6 Flash Ext modem on ttyS0.
I have appended one of the traces that was sent, as well as my config.ttyS0.
I appreciate any and all input.

Josh

Here is the tracing sent by recvd

recvq/fax00036.tif:
    Sender: 6148410630
     Pages: 5
   Quality: Normal
      Page: North American Letter
  Received: 2001:06:18 07:31:12
TimeToRecv: 2:31
SignalRate: 14400 bit/s
DataFormat: 1-D MR


    ---- Transcript of session follows ----
Jun 18 07:30:58.10: [18193]: SESSION BEGIN 00000132 17637635438424
Jun 18 07:30:58.10: [18193]: <-- [4:ATA\r]
Jun 18 07:31:07.34: [18193]: --> [5:+FCON]
Jun 18 07:31:07.34: [18193]: ANSWER: FAX CONNECTION
Jun 18 07:31:07.34: [18193]: RECV FAX: begin
Jun 18 07:31:07.34: [18193]: --> [28:+FTSI:"          6148410630"]
Jun 18 07:31:07.34: [18193]: REMOTE TSI "6148410630"
Jun 18 07:31:07.61: [18193]: --> [21:+FDCS:0,5,0,2,0,0,0,0]
Jun 18 07:31:07.61: [18193]: REMOTE wants 14400 bit/s
Jun 18 07:31:07.61: [18193]: REMOTE wants page width 1728 pixels in 215 mm
Jun 18 07:31:07.61: [18193]: REMOTE wants unlimited page length
Jun 18 07:31:07.61: [18193]: REMOTE wants 3.85 line/mm
Jun 18 07:31:07.61: [18193]: REMOTE wants 1-D MR
Jun 18 07:31:07.61: [18193]: --> [2:OK]
Jun 18 07:31:07.61: [18193]: <-- [7:AT+FDR\r]
Jun 18 07:31:11.82: [18193]: --> [5:+FCFR]
Jun 18 07:31:12.80: [18193]: --> [7:CONNECT]
Jun 18 07:31:12.80: [18193]: RECV: begin page
Jun 18 07:31:12.80: [18193]: RECV: send trigger 021
Jun 18 07:31:12.80: [18193]: <-- data [1]
Jun 18 07:31:30.90: [18193]: RECV: 32703 bytes of data, 731 total lines
Jun 18 07:31:37.26: [18193]: RECV: 11421 bytes of data, 1086 total lines
Jun 18 07:31:37.26: [18193]: --> [12:+FPTS:1,1084]
Jun 18 07:31:38.64: [18193]: --> [6:+FET:0]
Jun 18 07:31:38.64: [18193]: RECV recv MPS (more pages, same document)
Jun 18 07:31:38.64: [18193]: --> [2:OK]
Jun 18 07:31:38.64: [18193]: RECV send MCF (message confirmation)
Jun 18 07:31:38.64: [18193]: RECV FAX (00000132): from 6148410630, page 1 in
0:31, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Jun 18 07:31:38.64: [18193]: <-- [7:AT+FDR\r]
Jun 18 07:31:40.59: [18193]: --> [7:CONNECT]
Jun 18 07:31:40.59: [18193]: RECV: begin page
Jun 18 07:31:40.59: [18193]: RECV: send trigger 021
Jun 18 07:31:40.59: [18193]: <-- data [1]
Jun 18 07:31:58.81: [18193]: RECV: 32720 bytes of data, 607 total lines
Jun 18 07:32:07.65: [18193]: RECV: 15967 bytes of data, 1084 total lines
Jun 18 07:32:07.65: [18193]: --> [12:+FPTS:1,1082]
Jun 18 07:32:09.03: [18193]: --> [6:+FET:0]
Jun 18 07:32:09.03: [18193]: RECV recv MPS (more pages, same document)
Jun 18 07:32:09.03: [18193]: --> [2:OK]
Jun 18 07:32:09.03: [18193]: RECV send MCF (message confirmation)
Jun 18 07:32:09.03: [18193]: RECV FAX (00000132): from 6148410630, page 2 in
0:31, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Jun 18 07:32:09.03: [18193]: <-- [7:AT+FDR\r]
Jun 18 07:32:11.00: [18193]: --> [7:CONNECT]
Jun 18 07:32:11.00: [18193]: RECV: begin page
Jun 18 07:32:11.00: [18193]: RECV: send trigger 021
Jun 18 07:32:11.00: [18193]: <-- data [1]
Jun 18 07:32:29.11: [18193]: RECV: 32762 bytes of data, 499 total lines
Jun 18 07:32:47.27: [18193]: RECV: 32515 bytes of data, 1083 total lines
Jun 18 07:32:47.27: [18193]: --> [12:+FPTS:1,1081]
Jun 18 07:32:48.65: [18193]: --> [6:+FET:0]
Jun 18 07:32:48.65: [18193]: RECV recv MPS (more pages, same document)
Jun 18 07:32:48.65: [18193]: --> [2:OK]
Jun 18 07:32:48.65: [18193]: RECV send MCF (message confirmation)
Jun 18 07:32:48.65: [18193]: RECV FAX (00000132): from 6148410630, page 3 in
0:39, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Jun 18 07:32:48.65: [18193]: <-- [7:AT+FDR\r]
Jun 18 07:32:50.62: [18193]: --> [7:CONNECT]
Jun 18 07:32:50.62: [18193]: RECV: begin page
Jun 18 07:32:50.62: [18193]: RECV: send trigger 021
Jun 18 07:32:50.62: [18193]: <-- data [1]
Jun 18 07:33:08.73: [18193]: RECV: 32739 bytes of data, 685 total lines
Jun 18 07:33:19.54: [18193]: RECV: 19305 bytes of data, 1082 total lines
Jun 18 07:33:19.54: [18193]: --> [12:+FPTS:1,1080]
Jun 18 07:33:20.92: [18193]: --> [6:+FET:0]
Jun 18 07:33:20.92: [18193]: RECV recv MPS (more pages, same document)
Jun 18 07:33:20.92: [18193]: --> [2:OK]
Jun 18 07:33:20.92: [18193]: RECV send MCF (message confirmation)
Jun 18 07:33:20.92: [18193]: RECV FAX (00000132): from 6148410630, page 4 in
0:32, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Jun 18 07:33:20.92: [18193]: <-- [7:AT+FDR\r]
Jun 18 07:33:22.89: [18193]: --> [7:CONNECT]
Jun 18 07:33:22.89: [18193]: RECV: begin page
Jun 18 07:33:22.89: [18193]: RECV: send trigger 021
Jun 18 07:33:22.89: [18193]: <-- data [1]
Jun 18 07:33:41.00: [18193]: RECV: 32698 bytes of data, 966 total lines
Jun 18 07:33:43.83: [18193]: RECV: 4979 bytes of data, 1083 total lines
Jun 18 07:33:43.83: [18193]: --> [12:+FPTS:1,1081]
Jun 18 07:33:45.22: [18193]: --> [6:+FET:2]
Jun 18 07:33:45.22: [18193]: RECV recv EOP (no more pages or documents)
Jun 18 07:33:45.22: [18193]: --> [2:OK]
Jun 18 07:33:45.22: [18193]: RECV send MCF (message confirmation)
Jun 18 07:33:45.22: [18193]: RECV FAX (00000132): from 6148410630, page 5 in
0:25, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Jun 18 07:33:45.22: [18193]: RECV FAX (00000132): recvq/fax00036.tif from
6148410630, route to <unspecified>, 5 pages in 2:38
Jun 18 07:33:45.22: [18193]: <-- [7:AT+FDR\r]
Jun 18 07:33:47.99: [18193]: --> [7:+FHNG:0]
Jun 18 07:33:47.99: [18193]: REMOTE HANGUP: Normal and proper end of
connection (code 0)
Jun 18 07:33:47.99: [18193]: RECV FAX: bin/faxrcvd "recvq/fax00036.tif"
"ttyS0" "00000132" ""



Here is /var/spool/fax/etc/config.ttyS0

# $Id: class2,v 1.3 2001/02/05 06:32:55 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names
of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:            1
AreaCode:               763
FAXNumber:              763-543-8424
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Buffalo Wild Wings"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#
#
# 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:             19200           # 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:                ""              # 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
#ModemNoAutoAnswerCmd:  ATS0=0          # disable auto-answer
#
# 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:     ATZ             # 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




____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions