HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Fax Corruption Problem
Hello,
we have a problem probably related to Hylafax where faxes arrive
strangely corrupted at the destination. The fax server is Debian Etch
and Hylafax 4.4.4. The fax device is a analog v.34 serial modem
connected via a USB serial adapter to the server.
The resulting faxes at the destination look like shrinked together
vertically that is, several horizontal stripes of about 1cm are missing.
Hylafax reports the faxes as being sended ok though.
The Hylafax server runs fine with some test fax machines as
destinations. Once we go live and send to customers the problem arises,
troubling about 20% of the receivers. It seems to be related to certain
destination fax machines, which effectively can't receive our faxes
without corruption at all (we are collecting information).
Is there sort of a special "conservative" setting for the fax modem we
could apply? We meant to do so by using Class-1 mode and let Hylafax
handle the rest.
We already tried a replacement modem and the problem persists.
Any help would be greatly appreciated.
Thanks in advance.
Tassilo Erlewein
-- log information collected so far
The sending modem runs in Class-1 mode (/etc/hylafax/config.ttyUSB0):
ModemType: Class1
Class1Cmd: AT+FCLASS=1
Class1PPMWaitCmd: AT+FTS=7
Class1TCFWaitCmd: ATFTS=7
Class1EOPWaitCmd: AT+FTS=9
Class1SwitchingCmd: ATFRS=7
Class1RecvAbortOK: 200
Class1FrameOverhead: 4
Class1RecvIdentTimer: 40000
Class1TCFMaxNonZero: 10
Class1TCFMinRun: 1000
The sended fax is reported sometimes ok and sometimes we get errors:
(/var/spool/log/hylafax/xferfaxlog)
07/01/10 10:58 SEND 000002532 ttyUSB0 2380 ""
this@xxxxxxxx "0XXXXXXXX" "+49 XXXXXX 16" 2105369 1 1:00
0:36 "" "" "" "" "uucp" "00 62 1E"
07/01/10 10:59 SEND 000002532 ttyUSB0 2381 ""
this@xxxxxxxx "0XXXXXXXX" "+49 XXXXXX 16" 2105369 0 0:18 0:18 "RSPREC
error/got DCN (sender abort)" "" "" "" "uucp" "00 62 1E"
The according fax protocol /var/spool/hylafax/log/c000002532 looks like
this:
Jul 01 10:58:46.52: [12806]: SESSION BEGIN 000002532 497144810616
Jul 01 10:58:46.52: [12806]: HylaFAX (tm) Version 4.4.4
Jul 01 10:58:46.52: [12806]: SEND FAX: JOB 2380 DEST 07144810616 COMMID
000002532 DEVICE '/dev/ttyUSB0' FROM 'this <this@xxxxxxxx>' USER uucp
Jul 01 10:58:46.52: [12806]: <-- [12:AT+FCLASS=1\r]
Jul 01 10:58:46.53: [12806]: --> [2:OK]
Jul 01 10:58:46.53: [12806]: DIAL 0XXXXXXXXXX # CHANGED THAT...
Jul 01 10:58:46.53: [12806]: <-- [20:ATX3DT0,0XXXXXXXXX\r]
Jul 01 10:59:10.28: [12806]: --> [7:CONNECT]
Jul 01 10:59:12.02: [12806]: --> [2:OK]
Jul 01 10:59:12.02: [12806]: REMOTE CSI "+49 XXXXXXXXXXXXXX"
Jul 01 10:59:12.02: [12806]: <-- [9:AT+FRH=3\r]
Jul 01 10:59:12.03: [12806]: --> [7:CONNECT]
Jul 01 10:59:12.28: [12806]: --> [2:OK]
Jul 01 10:59:12.28: [12806]: REMOTE best rate 14400 bit/s
Jul 01 10:59:12.28: [12806]: REMOTE max A4 page width (215 mm)
Jul 01 10:59:12.28: [12806]: REMOTE max unlimited page length
Jul 01 10:59:12.28: [12806]: REMOTE best vres 7.7 line/mm
Jul 01 10:59:12.28: [12806]: REMOTE format support: MH
Jul 01 10:59:12.28: [12806]: REMOTE best 0 ms/scanline
Jul 01 10:59:12.28: [12806]: USE 9600 bit/s
Jul 01 10:59:12.28: [12806]: SEND file "docq/doc2399.pdf;c1"
Jul 01 10:59:12.28: [12806]: USE A4 page width (215 mm)
Jul 01 10:59:12.28: [12806]: USE unlimited page length
Jul 01 10:59:12.28: [12806]: USE 7.7 line/mm
Jul 01 10:59:12.28: [12806]: USE 1-D MH
Jul 01 10:59:12.28: [12806]: USE 0 ms/scanline
Jul 01 10:59:12.28: [12806]: SEND training at v.29 9600 bit/s
Jul 01 10:59:12.28: [12806]: <-- [9:AT+FRS=7\r]
Jul 01 10:59:12.50: [12806]: --> [2:OK]
Jul 01 10:59:12.50: [12806]: <-- [9:AT+FTH=3\r]
Jul 01 10:59:13.37: [12806]: --> [7:CONNECT]
Jul 01 10:59:13.37: [12806]: <-- data [23]
Jul 01 10:59:13.37: [12806]: <-- data [2]
Jul 01 10:59:13.40: [12806]: --> [7:CONNECT]
Jul 01 10:59:13.40: [12806]: <-- data [6]
Jul 01 10:59:13.40: [12806]: <-- data [2]
Jul 01 10:59:14.49: [12806]: --> [2:OK]
Jul 01 10:59:14.49: [12806]: <-- [9:AT+FTS=7\r]
Jul 01 10:59:14.56: [12806]: --> [2:OK]
Jul 01 10:59:14.56: [12806]: <-- [10:AT+FTM=96\r]
Jul 01 10:59:14.57: [12806]: --> [7:CONNECT]
Jul 01 10:59:14.57: [12806]: <-- data [1024]
Jul 01 10:59:14.57: [12806]: <-- data [776]
Jul 01 10:59:14.84: [12806]: <-- data [2]
Jul 01 10:59:16.36: [12806]: --> [2:OK]
Jul 01 10:59:16.36: [12806]: <-- [9:AT+FRH=3\r]
Jul 01 10:59:16.79: [12806]: --> [7:CONNECT]
Jul 01 10:59:17.99: [12806]: --> [2:OK]
Jul 01 10:59:17.99: [12806]: TRAINING succeeded
Jul 01 10:59:17.99: [12806]: <-- [9:AT+FRS=7\r]
Jul 01 10:59:18.20: [12806]: --> [2:OK]
Jul 01 10:59:18.20: [12806]: <-- [10:AT+FTM=96\r]
Jul 01 10:59:18.22: [12806]: --> [7:CONNECT]
Jul 01 10:59:18.22: [12806]: SEND begin page
Jul 01 10:59:18.23: [12806]: Reading MMR-compressed image file
Jul 01 10:59:18.24: [12806]: <-- data [1026]
Jul 01 10:59:18.24: [12806]: <-- data [1026]
Jul 01 10:59:18.64: [12806]: <-- data [1027]
Jul 01 10:59:19.18: [12806]: <-- data [1027]
Jul 01 10:59:19.71: [12806]: <-- data [1028]
Jul 01 10:59:20.24: [12806]: <-- data [1030]
Jul 01 10:59:20.77: [12806]: <-- data [1029]
Jul 01 10:59:21.31: [12806]: <-- data [1031]
Jul 01 10:59:21.84: [12806]: <-- data [1032]
Jul 01 10:59:22.37: [12806]: <-- data [1028]
Jul 01 10:59:22.90: [12806]: <-- data [1027]
Jul 01 10:59:23.43: [12806]: <-- data [1035]
Jul 01 10:59:23.97: [12806]: <-- data [1031]
Jul 01 10:59:24.53: [12806]: <-- data [1027]
Jul 01 10:59:25.06: [12806]: <-- data [1026]
Jul 01 10:59:25.60: [12806]: <-- data [1027]
Jul 01 10:59:26.13: [12806]: <-- data [1029]
Jul 01 10:59:26.66: [12806]: <-- data [1032]
Jul 01 10:59:27.19: [12806]: <-- data [1026]
Jul 01 10:59:27.73: [12806]: <-- data [1027]
Jul 01 10:59:28.26: [12806]: <-- data [1024]
Jul 01 10:59:28.79: [12806]: <-- data [1025]
Jul 01 10:59:29.32: [12806]: <-- data [1025]
Jul 01 10:59:29.86: [12806]: <-- data [1033]
Jul 01 10:59:30.39: [12806]: <-- data [1029]
Jul 01 10:59:30.92: [12806]: <-- data [1029]
Jul 01 10:59:31.45: [12806]: <-- data [1026]
Jul 01 10:59:31.99: [12806]: <-- data [1025]
Jul 01 10:59:32.52: [12806]: <-- data [1028]
Jul 01 10:59:33.05: [12806]: <-- data [1026]
Jul 01 10:59:33.58: [12806]: <-- data [1026]
Jul 01 10:59:34.12: [12806]: <-- data [1028]
Jul 01 10:59:34.65: [12806]: <-- data [1028]
Jul 01 10:59:35.21: [12806]: <-- data [1028]
Jul 01 10:59:35.75: [12806]: <-- data [1027]
Jul 01 10:59:36.28: [12806]: <-- data [1027]
Jul 01 10:59:36.81: [12806]: <-- data [1029]
Jul 01 10:59:37.34: [12806]: <-- data [1027]
Jul 01 10:59:37.88: [12806]: <-- data [1031]
Jul 01 10:59:38.41: [12806]: <-- data [1027]
Jul 01 10:59:38.94: [12806]: <-- data [1028]
Jul 01 10:59:39.47: [12806]: <-- data [982]
Jul 01 10:59:39.97: [12806]: SENT 42965 bytes of data
Jul 01 10:59:39.97: [12806]: SEND 1D RTC
Jul 01 10:59:39.97: [12806]: <-- data [29]
Jul 01 10:59:40.01: [12806]: <-- data [2]
Jul 01 10:59:40.01: [12806]: SEND end page
Jul 01 10:59:42.16: [12806]: --> [2:OK]
Jul 01 10:59:42.16: [12806]: <-- [9:AT+FTS=9\r]
Jul 01 10:59:42.24: [12806]: --> [2:OK]
Jul 01 10:59:42.24: [12806]: SEND send EOM (more documents)
Jul 01 10:59:42.24: [12806]: <-- [9:AT+FTH=3\r]
Jul 01 10:59:43.11: [12806]: --> [7:CONNECT]
Jul 01 10:59:43.11: [12806]: <-- data [3]
Jul 01 10:59:43.11: [12806]: <-- data [2]
Jul 01 10:59:43.42: [12806]: --> [2:OK]
Jul 01 10:59:43.42: [12806]: <-- [9:AT+FRH=3\r]
Jul 01 10:59:44.01: [12806]: --> [7:CONNECT]
Jul 01 10:59:45.20: [12806]: --> [2:OK]
Jul 01 10:59:45.20: [12806]: SEND recv MCF (message confirmation)
Jul 01 10:59:45.20: [12806]: SEND FAX (000002532): FROM this@xxxxxxxx TO
0XXXXXXXXXX (page 1 of 1 sent in 0:33)
Jul 01 10:59:45.20: [12806]: <-- [9:AT+FRS=7\r]
Jul 01 10:59:45.42: [12806]: --> [2:OK]
Jul 01 10:59:45.42: [12806]: SEND FAX (000002532): FROM this@xxxxxxxx TO
07144810616 (docq/doc2399.pdf;c1 sent in 0:33)
Jul 01 10:59:46.21: [12806]: SEND FAX: JOB 2381 DEST 0XXXXXXXX COMMID
000002532 DEVICE '/dev/ttyUSB0' FROM 'this <this@xxxxxxxx>' USER uucp
Jul 01 10:59:46.21: [12806]: <-- [9:AT+FRH=3\r]
Jul 01 10:59:52.54: [12806]: --> [7:CONNECT]
Jul 01 10:59:54.27: [12806]: --> [2:OK]
Jul 01 10:59:54.27: [12806]: REMOTE CSI "+49 XXXXXXXXXXXXXX"
Jul 01 10:59:54.27: [12806]: <-- [9:AT+FRH=3\r]
Jul 01 10:59:54.29: [12806]: --> [7:CONNECT]
Jul 01 10:59:54.53: [12806]: --> [2:OK]
Jul 01 10:59:54.53: [12806]: REMOTE best rate 14400 bit/s
Jul 01 10:59:54.53: [12806]: REMOTE max A4 page width (215 mm)
Jul 01 10:59:54.53: [12806]: REMOTE max unlimited page length
Jul 01 10:59:54.53: [12806]: REMOTE best vres 7.7 line/mm
Jul 01 10:59:54.53: [12806]: REMOTE format support: MH
Jul 01 10:59:54.53: [12806]: REMOTE best 0 ms/scanline
Jul 01 10:59:54.53: [12806]: USE 9600 bit/s
Jul 01 10:59:54.53: [12806]: SEND file "docq/doc2400.pdf;c1"
Jul 01 10:59:54.53: [12806]: USE A4 page width (215 mm)
Jul 01 10:59:54.53: [12806]: USE unlimited page length
Jul 01 10:59:54.53: [12806]: USE 7.7 line/mm
Jul 01 10:59:54.53: [12806]: USE 1-D MH
Jul 01 10:59:54.53: [12806]: USE 0 ms/scanline
Jul 01 10:59:54.53: [12806]: SEND training at v.29 9600 bit/s
Jul 01 10:59:54.53: [12806]: <-- [9:AT+FRS=7\r]
Jul 01 10:59:54.75: [12806]: --> [2:OK]
Jul 01 10:59:54.75: [12806]: <-- [9:AT+FTH=3\r]
Jul 01 10:59:55.61: [12806]: --> [7:CONNECT]
Jul 01 10:59:55.61: [12806]: <-- data [23]
Jul 01 10:59:55.61: [12806]: <-- data [2]
Jul 01 10:59:55.64: [12806]: --> [7:CONNECT]
Jul 01 10:59:55.64: [12806]: <-- data [6]
Jul 01 10:59:55.64: [12806]: <-- data [2]
Jul 01 10:59:56.74: [12806]: --> [2:OK]
Jul 01 10:59:56.74: [12806]: <-- [9:AT+FTS=7\r]
Jul 01 10:59:56.81: [12806]: --> [2:OK]
Jul 01 10:59:56.81: [12806]: <-- [10:AT+FTM=96\r]
Jul 01 10:59:56.82: [12806]: --> [7:CONNECT]
Jul 01 10:59:56.82: [12806]: <-- data [1024]
Jul 01 10:59:56.82: [12806]: <-- data [776]
Jul 01 10:59:57.09: [12806]: <-- data [2]
Jul 01 10:59:58.61: [12806]: --> [2:OK]
Jul 01 10:59:58.61: [12806]: <-- [9:AT+FRH=3\r]
Jul 01 11:00:00.37: [12806]: --> [7:CONNECT]
Jul 01 11:00:01.56: [12806]: --> [2:OK]
Jul 01 11:00:01.56: [12806]: TRAINING failed
Jul 01 11:00:01.56: [12806]: The destination appears to not support
batching.
Jul 01 11:00:01.56: [12806]: <-- [9:AT+FRS=7\r]
Jul 01 11:00:01.79: [12806]: --> [2:OK]
Jul 01 11:00:01.79: [12806]: <-- [9:AT+FTH=3\r]
Jul 01 11:00:02.65: [12806]: --> [7:CONNECT]
Jul 01 11:00:02.65: [12806]: <-- data [3]
Jul 01 11:00:02.65: [12806]: <-- data [2]
Jul 01 11:00:02.97: [12806]: --> [2:OK]
Jul 01 11:00:03.98: [12806]: <-- [5:ATH0\r]
Jul 01 11:00:04.14: [12806]: --> [2:OK]
Jul 01 11:00:04.28: [12806]: 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@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*