HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Broken lines when receiving faxes from fax machines



Hi all,

We have got Hylafax 4.1.1 running on RedHat 7.0.  When receving the pages
from a fax machine, the first few pages shows perfectly but the remaining
are full of broken lines.  The Tif file is corrupted as well.

The problem does not occur when
1. The Hylafax Server was replaced by a fax machine.

The modem is Practical V.90 External Modem using Rockwell chipset.

I have attached the log and the partial config.ttyS1.

Similar problems occur when receiving faxes from some other companies.

Please help!

Thanks

Terence




recvq/fax02532.tif :
    Sender: 662 8738328
     Pages: 8
   Quality: Normal
      Page: ISO A4
  Received: 2002:05:29 11:51:07
TimeToRecv: 4:04
SignalRate: 9600 bit/s
DataFormat: 2-D MR
ReceivedOn: ttyS1

The full document was not received because:

    COMREC received DCN

    ---- Transcript of session follows ----

May 29 11:50:52.15: [  357]: SESSION BEGIN 00002543 85227447499
May 29 11:50:52.15: [  357]: HylaFAX (tm) Version 4.1.1
May 29 11:50:52.15: [  357]: <-- [4:ATA\r]
May 29 11:50:58.47: [  357]: --> [7:CONNECT]
May 29 11:50:58.47: [  357]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS1'
May 29 11:50:58.47: [  357]: RECV FAX: begin
May 29 11:51:00.16: [  357]: --> [7:CONNECT]
May 29 11:51:00.70: [  357]: --> [2:OK]
May 29 11:51:00.70: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:51:01.20: [  357]: --> [7:CONNECT]
May 29 11:51:02.68: [  357]: --> [2:OK]
May 29 11:51:02.68: [  357]: REMOTE TSI "662 8738328"
May 29 11:51:02.68: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:51:02.69: [  357]: --> [7:CONNECT]
May 29 11:51:03.00: [  357]: --> [2:OK]
May 29 11:51:03.00: [  357]: REMOTE wants 9600 bit/s
May 29 11:51:03.00: [  357]: REMOTE wants page width 1728 pixels in 215 mm
May 29 11:51:03.00: [  357]: REMOTE wants unlimited page length 
May 29 11:51:03.00: [  357]: REMOTE wants 3.85 line/mm
May 29 11:51:03.00: [  357]: REMOTE wants 2-D MR
May 29 11:51:03.00: [  357]: RECV training at v.29 9600 bit/s
May 29 11:51:03.00: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:51:03.58: [  357]: --> [7:CONNECT]
May 29 11:51:05.16: [  357]: RECV: TCF 1873 bytes, 2% non-zero, 1830 zero-run
May 29 11:51:05.16: [  357]: --> [10:NO CARRIER]
May 29 11:51:05.16: [  357]: DELAY 75 ms
May 29 11:51:05.24: [  357]: TRAINING succeeded
May 29 11:51:05.24: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:51:05.28: [  357]: --> [7:CONNECT]
May 29 11:51:06.59: [  357]: --> [2:OK]
May 29 11:51:06.59: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:51:07.36: [  357]: --> [7:CONNECT]
May 29 11:51:07.36: [  357]: RECV: begin page
May 29 11:51:28.15: [  357]: RECV: 24888 bytes of data, 1168 total lines
May 29 11:51:28.15: [  357]: RECV: end page
May 29 11:51:28.15: [  357]: --> [10:NO CARRIER]
May 29 11:51:28.15: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:51:28.51: [  357]: --> [7:CONNECT]
May 29 11:51:29.32: [  357]: --> [2:OK]
May 29 11:51:29.32: [  357]: RECV recv MPS (more pages, same document)
May 29 11:51:29.32: [  357]: DELAY 75 ms
May 29 11:51:29.40: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:51:29.44: [  357]: --> [7:CONNECT]
May 29 11:51:30.76: [  357]: --> [2:OK]
May 29 11:51:30.76: [  357]: RECV send MCF (message confirmation)
May 29 11:51:30.76: [  357]: RECV FAX (00002543): from 662 8738328, page 1 in 0:25, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:51:30.76: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:51:32.33: [  357]: --> [7:CONNECT]
May 29 11:51:32.33: [  357]: RECV: begin page
May 29 11:51:59.66: [  357]: RECV: 32749 bytes of data, 1026 total lines
May 29 11:52:02.55: [  357]: RECV: 3468 bytes of data, 1162 total lines
May 29 11:52:02.55: [  357]: RECV: end page
May 29 11:52:02.55: [  357]: --> [10:NO CARRIER]
May 29 11:52:02.55: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:52:02.91: [  357]: --> [7:CONNECT]
May 29 11:52:03.72: [  357]: --> [2:OK]
May 29 11:52:03.72: [  357]: RECV recv MPS (more pages, same document)
May 29 11:52:03.72: [  357]: DELAY 75 ms
May 29 11:52:03.80: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:52:03.84: [  357]: --> [7:CONNECT]
May 29 11:52:05.15: [  357]: --> [2:OK]
May 29 11:52:05.15: [  357]: RECV send MCF (message confirmation)
May 29 11:52:05.15: [  357]: RECV FAX (00002543): from 662 8738328, page 2 in 0:35, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:52:05.15: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:52:06.73: [  357]: --> [7:CONNECT]
May 29 11:52:06.73: [  357]: RECV: begin page
May 29 11:52:29.34: [  357]: RECV: 24220 bytes of data, 712 total lines
May 29 11:52:29.35: [  357]: RECV: end page
May 29 11:52:29.35: [  357]: --> [10:NO CARRIER]
May 29 11:52:29.35: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:52:29.73: [  357]: --> [7:CONNECT]
May 29 11:52:30.55: [  357]: --> [2:OK]
May 29 11:52:30.55: [  357]: RECV recv MPS (more pages, same document)
May 29 11:52:30.55: [  357]: DELAY 75 ms
May 29 11:52:30.65: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:52:30.73: [  357]: --> [7:CONNECT]
May 29 11:52:32.05: [  357]: --> [2:OK]
May 29 11:52:32.05: [  357]: RECV send MCF (message confirmation)
May 29 11:52:32.05: [  357]: RECV FAX (00002543): from 662 8738328, page 3 in 0:27, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:52:32.05: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:52:33.74: [  357]: --> [7:CONNECT]
May 29 11:52:33.74: [  357]: RECV: begin page
May 29 11:53:01.23: [  357]: RECV: 21310 bytes of data, 686 total lines
May 29 11:53:01.23: [  357]: RECV: end page
May 29 11:53:01.23: [  357]: --> [10:NO CARRIER]
May 29 11:53:01.23: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:53:01.59: [  357]: --> [7:CONNECT]
May 29 11:53:02.38: [  357]: --> [2:OK]
May 29 11:53:02.38: [  357]: RECV recv MPS (more pages, same document)
May 29 11:53:02.38: [  357]: DELAY 75 ms
May 29 11:53:02.47: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:53:02.55: [  357]: --> [7:CONNECT]
May 29 11:53:03.86: [  357]: --> [2:OK]
May 29 11:53:03.87: [  357]: RECV send MCF (message confirmation)
May 29 11:53:03.87: [  357]: RECV FAX (00002543): from 662 8738328, page 4 in 0:31, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:53:03.87: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:53:05.50: [  357]: --> [7:CONNECT]
May 29 11:53:05.52: [  357]: RECV: begin page
May 29 11:53:36.87: [  357]: RECV: 27628 bytes of data, 801 total lines
May 29 11:53:36.87: [  357]: RECV: end page
May 29 11:53:36.87: [  357]: --> [10:NO CARRIER]
May 29 11:53:36.87: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:53:37.28: [  357]: --> [7:CONNECT]
May 29 11:53:38.03: [  357]: --> [2:OK]
May 29 11:53:38.03: [  357]: RECV recv MPS (more pages, same document)
May 29 11:53:38.03: [  357]: DELAY 75 ms
May 29 11:53:38.14: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:53:38.20: [  357]: --> [7:CONNECT]
May 29 11:53:39.52: [  357]: --> [2:OK]
May 29 11:53:39.52: [  357]: RECV send MCF (message confirmation)
May 29 11:53:39.52: [  357]: RECV FAX (00002543): from 662 8738328, page 5 in 0:36, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:53:39.52: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:53:41.12: [  357]: --> [7:CONNECT]
May 29 11:53:41.12: [  357]: RECV: begin page
May 29 11:54:02.93: [  357]: RECV: 16996 bytes of data, 697 total lines
May 29 11:54:02.93: [  357]: RECV: end page
May 29 11:54:02.93: [  357]: --> [10:NO CARRIER]
May 29 11:54:02.93: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:54:03.32: [  357]: --> [7:CONNECT]
May 29 11:54:04.09: [  357]: --> [2:OK]
May 29 11:54:04.10: [  357]: RECV recv MPS (more pages, same document)
May 29 11:54:04.10: [  357]: DELAY 75 ms
May 29 11:54:04.21: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:54:04.28: [  357]: --> [7:CONNECT]
May 29 11:54:05.58: [  357]: --> [2:OK]
May 29 11:54:05.60: [  357]: RECV send MCF (message confirmation)
May 29 11:54:05.60: [  357]: RECV FAX (00002543): from 662 8738328, page 6 in 0:26, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:54:05.61: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:54:07.21: [  357]: --> [7:CONNECT]
May 29 11:54:07.21: [  357]: RECV: begin page
May 29 11:54:34.77: [  357]: RECV: 22292 bytes of data, 643 total lines
May 29 11:54:34.77: [  357]: RECV: end page
May 29 11:54:34.77: [  357]: --> [10:NO CARRIER]
May 29 11:54:34.77: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:54:35.16: [  357]: --> [7:CONNECT]
May 29 11:54:35.91: [  357]: --> [2:OK]
May 29 11:54:35.91: [  357]: RECV recv MPS (more pages, same document)
May 29 11:54:35.91: [  357]: DELAY 75 ms
May 29 11:54:36.01: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:54:36.06: [  357]: --> [7:CONNECT]
May 29 11:54:37.39: [  357]: --> [2:OK]
May 29 11:54:37.39: [  357]: RECV send MCF (message confirmation)
May 29 11:54:37.39: [  357]: RECV FAX (00002543): from 662 8738328, page 7 in 0:32, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
May 29 11:54:37.39: [  357]: <-- [10:AT+FRM=96\r]
May 29 11:54:39.00: [  357]: --> [7:CONNECT]
May 29 11:54:39.00: [  357]: RECV: begin page
May 29 11:55:20.14: [  357]: RECV: 32722 bytes of data, 1510 total lines
May 29 11:55:28.04: [  357]: RECV: 5905 bytes of data, 1819 total lines
May 29 11:55:28.04: [  357]: RECV: end page
May 29 11:55:28.04: [  357]: --> [10:NO CARRIER]
May 29 11:55:28.04: [  357]: <-- [9:AT+FRH=3\r]
May 29 11:55:28.43: [  357]: --> [7:CONNECT]
May 29 11:55:29.39: [  357]: --> [2:OK]
May 29 11:55:29.39: [  357]: RECV recv DCN
May 29 11:55:29.40: [  357]: RECV FAX (00002543): recvq/fax02532.tif from 662 8738328, route to <unspecified>, 7 pages in 4:31
May 29 11:55:29.84: [  357]: RECV FAX: COMREC received DCN
May 29 11:55:29.84: [  357]: <-- [9:AT+FTH=3\r]
May 29 11:55:29.91: [  357]: --> [7:CONNECT]
May 29 11:55:31.22: [  357]: --> [2:OK]
May 29 11:55:31.22: [  357]: RECV FAX (00002543): session with 662 8738328 terminated abnormally: COMREC received DCN
May 29 11:55:31.22: [  357]: RECV FAX: bin/faxrcvd "recvq/fax02532.tif" "ttyS1" "00002543" "COMREC received DCN" "" ""


DeviceMode:		0600
RingsBeforeAnswer:	2
SpeakerVolume:		on
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	""
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
PercentGoodLines:	0
MaxConsecutiveBadLines:	60
MaxRecvPages:		200
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class1		# use this to supply a hint
ModemRate:		38400		# rate for DCE-DTE communication
ModemFlowControl:	rtscts		# default
#
ModemNoFlowCmd:		AT&K0		# setup no flow control
ModemHardFlowCmd:	AT&K3		# setup hardware flow control
ModemSoftFlowCmd:	AT&K4		# setup software flow control
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
ModemMfrQueryCmd:	!Rockwell
ModemModelQueryCmd:	!RC288DPi
ModemRevQueryCmd:	ATI3		# product information
#
ModemDialCmd:		ATDT%s		# T for tone dialing



Project hosted by iFAX Solutions