Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Fax send by sendfax is corrupted
Hi there,
I have been trying over to set up a Hylafax fax server over the
past week or so. I have made tremendous progress since I
started, but I still can't send fax from Hylafax's sendfax
without corrupting the output. (Receiving is OK)
I set up 2 Linux box to do the testing. Both Linux boxes use
USR modem (33.6 & 56). Both modems have broken Class2.0
implementation, so I use Class 1 instead.
The 1st box houses the Hylafax server (Box1). For testing
purposes, I use both the Hylafax package and the efax package
here. However, I don't use these 2 packages at the same time
to receive faxes for obvious reasons.
The 2nd box (Box 2) contains only the efax package. It is used to
facilitate the testing of the Hylafax server.
The experimentation involves sending a tiff file between
these 2 machines (By using tiff file, I eliminate
file conversion problems). The results are summarised below:
Sender Receiver Status
------ ------- ------
Box2 w/efax Box1 w/efax OK
Box1 w/efax Box2 w/efax OK
Box2 w/efax Box1 w/Hylafax OK
Box1 w/Hylafax(sendfax) Box2 w/efax Corrupted
Observation: efax works perfectly, so the problem is not likely
to be coming from the modem.
I suspect the problem lies in faxgetty. Is it possible
to turn off faxgetty and still get Hylafax to work
(As a send-only fax server)? If so, how?
For those who are interested to help me out, here's the gory
details (Hope I provide enough ;-):
Thanks,
Pek Yong
Configuration for the Hylafax server:
-------------------------------------
OS: Redhat-6.0 with Linux-2.2.9 kernel
Fax packages:
hylafax-4.0pl2-3rh5 #Managed to install the package on RH6 ;)
efax-0.8a-11
Modem Type:
USR Sportster Internal 33600 Faxmodem (?)
Modem Configuration Profile
Product type US/Canada Internal
Options V32bis,V.34+
Fax Options Class 1/Class 2.0
Line Options Caller ID, Distinctive Ring
Clock Freq 92.0Mhz
Eprom 256k
Ram 32k
FLASH date 3/8/97
FLASH rev 4.1.55
DSP date 3/8/97
DSP rev 10.3.55
Fax config: Uses Class 1 (Class 2.0 is just not working)
/var/spool/fax/etc/config.ttyS1:
CountryCode: 65
AreaCode: 0
FAXNumber: 8108434
LongDistancePrefix: 0
InternationalPrefix: 001
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 4
SpeakerVolume: off
GettyArgs: "-h %l %s"
LocalIdentifier: Cablix
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
MaxRecvPages: 25
ModemType: Class1
Class1Cmd: AT+FCLASS=1
Class1TCFResponseDelay: 75
Class1SendPPMDelay: 75
Class1SendTCFDelay: 75
Class1TrainingRecovery: 1500
Class1RecvAbortOK: 200
Class1FrameOverhead: 4
Class1RecvIdentTimer: 40000
Class1TCFMaxNonZero: 10
Class1TCFMinRun: 1000
Configuration for the fax client:
---------------------------------
OS: Redhat-6.0 with Linux-2.2.1 kernel
Fax packages:
efax-0.8a-11
Modem Type:
U.S. Robotics 56K Voice EXT
Modem Configuration Profile
Product type Asia External
Product ID: 45166302
Options V32bis,V.34+,x2,V.90
Fax Options Class 1/Class 2.0
Voice Options Speakerphone, TAD
Clock Freq 92.0Mhz
EPROM 256k
RAM 32k
FLASH date 4/17/98
FLASH rev 11.1.25
DSP date 4/17/98
DSP rev 11.1.25
PTT Approval rev 1.0.0
Fax config: Uses Class 1 (Class 2.0 is just not working)
corrupt.tiff
original.tiff
Sep 06 03:22:23.89: [ 789]: SESSION BEGIN 00000072 6508108434
Sep 06 03:22:23.89: [ 789]: SEND FAX: JOB 29 DEST 8108434 COMMID 00000072
Sep 06 03:22:23.89: [ 789]: DELAY 2600 ms
Sep 06 03:22:26.49: [ 789]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 06 03:22:26.62: [ 789]: --> [2:OK]
Sep 06 03:22:26.62: [ 789]: <-- [12:ATS8=2S7=60\r]
Sep 06 03:22:26.76: [ 789]: --> [2:OK]
Sep 06 03:22:26.76: [ 789]: <-- [12:AT+FCLASS=1\r]
Sep 06 03:22:26.90: [ 789]: --> [2:OK]
Sep 06 03:22:26.90: [ 789]: <-- [5:ATM0\r]
Sep 06 03:22:27.03: [ 789]: --> [2:OK]
Sep 06 03:22:27.03: [ 789]: <-- [12:AT+FCLASS=1\r]
Sep 06 03:22:27.27: [ 789]: --> [2:OK]
Sep 06 03:22:27.29: [ 789]: DIAL 8108434
Sep 06 03:22:27.29: [ 789]: <-- [12:ATDT8108434\r]
Sep 06 03:22:36.54: [ 789]: --> [7:CONNECT]
Sep 06 03:22:37.97: [ 789]: --> [2:OK]
Sep 06 03:22:37.97: [ 789]: REMOTE CSI ""
Sep 06 03:22:37.97: [ 789]: <-- [9:AT+FRH=3\r]
Sep 06 03:22:37.98: [ 789]: --> [7:CONNECT]
Sep 06 03:22:38.23: [ 789]: --> [2:OK]
Sep 06 03:22:38.23: [ 789]: REMOTE best rate 9600 bit/s
Sep 06 03:22:38.23: [ 789]: REMOTE max page width 1728 pixels in 215 mm
Sep 06 03:22:38.23: [ 789]: REMOTE max unlimited page length
Sep 06 03:22:38.23: [ 789]: REMOTE best vres 7.7 line/mm
Sep 06 03:22:38.23: [ 789]: REMOTE best format 1-D MR
Sep 06 03:22:38.23: [ 789]: REMOTE best 0 ms/scanline
Sep 06 03:22:38.23: [ 789]: USE 9600 bit/s
Sep 06 03:22:38.23: [ 789]: USE 0 ms/scanline
Sep 06 03:22:38.23: [ 789]: SEND file "docq/doc28.tif;31"
Sep 06 03:22:38.24: [ 789]: USE page width 1728 pixels in 215 mm
Sep 06 03:22:38.24: [ 789]: USE unlimited page length
Sep 06 03:22:38.24: [ 789]: USE 7.7 line/mm
Sep 06 03:22:38.24: [ 789]: USE 1-D MR
Sep 06 03:22:38.24: [ 789]: SEND training at v.29 9600 bit/s
Sep 06 03:22:38.24: [ 789]: <-- [9:AT+FTH=3\r]
Sep 06 03:22:38.43: [ 789]: --> [7:CONNECT]
Sep 06 03:22:38.43: [ 789]: <-- data [23]
Sep 06 03:22:38.43: [ 789]: <-- data [2]
Sep 06 03:22:38.45: [ 789]: --> [7:CONNECT]
Sep 06 03:22:38.45: [ 789]: <-- data [6]
Sep 06 03:22:38.45: [ 789]: <-- data [2]
Sep 06 03:22:40.41: [ 789]: --> [2:OK]
Sep 06 03:22:40.41: [ 789]: DELAY 75 ms
Sep 06 03:22:40.49: [ 789]: <-- [10:AT+FTM=96\r]
Sep 06 03:22:40.81: [ 789]: --> [7:CONNECT]
Sep 06 03:22:40.81: [ 789]: <-- data [1024]
Sep 06 03:22:40.81: [ 789]: <-- data [776]
Sep 06 03:22:40.81: [ 789]: <-- data [2]
Sep 06 03:22:42.34: [ 789]: --> [2:OK]
Sep 06 03:22:42.34: [ 789]: <-- [9:AT+FRH=3\r]
Sep 06 03:22:42.84: [ 789]: --> [7:CONNECT]
Sep 06 03:22:43.80: [ 789]: --> [2:OK]
Sep 06 03:22:43.80: [ 789]: TRAINING succeeded
Sep 06 03:22:43.80: [ 789]: <-- [10:AT+FTM=96\r]
Sep 06 03:22:44.15: [ 789]: --> [7:CONNECT]
Sep 06 03:22:44.15: [ 789]: SEND begin page
Sep 06 03:22:44.16: [ 789]: <-- data [1029]
Sep 06 03:22:44.16: [ 789]: <-- data [1031]
Sep 06 03:22:44.16: [ 789]: <-- data [1029]
Sep 06 03:22:44.16: [ 789]: <-- data [1033]
Sep 06 03:22:44.16: [ 789]: <-- data [1031]
Sep 06 03:22:46.16: [ 789]: <-- data [1039]
Sep 06 03:22:46.16: [ 789]: <-- data [1028]
Sep 06 03:22:46.16: [ 789]: <-- data [1037]
Sep 06 03:22:48.16: [ 789]: <-- data [1030]
Sep 06 03:22:48.16: [ 789]: <-- data [1037]
Sep 06 03:22:48.16: [ 789]: <-- data [1034]
Sep 06 03:22:48.16: [ 789]: <-- data [1030]
Sep 06 03:22:50.16: [ 789]: <-- data [1033]
Sep 06 03:22:50.16: [ 789]: <-- data [1030]
Sep 06 03:22:50.16: [ 789]: <-- data [1032]
Sep 06 03:22:50.16: [ 789]: <-- data [1027]
Sep 06 03:22:52.16: [ 789]: <-- data [1038]
Sep 06 03:22:52.16: [ 789]: <-- data [1030]
Sep 06 03:22:52.16: [ 789]: <-- data [1035]
Sep 06 03:22:54.16: [ 789]: <-- data [1027]
Sep 06 03:22:54.16: [ 789]: <-- data [1038]
Sep 06 03:22:54.16: [ 789]: <-- data [1033]
Sep 06 03:22:54.16: [ 789]: <-- data [1034]
Sep 06 03:22:56.16: [ 789]: <-- data [1039]
Sep 06 03:22:56.16: [ 789]: <-- data [1035]
Sep 06 03:22:56.16: [ 789]: <-- data [1036]
Sep 06 03:22:56.16: [ 789]: <-- data [1033]
Sep 06 03:22:58.16: [ 789]: <-- data [1033]
Sep 06 03:22:58.16: [ 789]: <-- data [1029]
Sep 06 03:22:58.16: [ 789]: <-- data [1035]
Sep 06 03:22:58.16: [ 789]: <-- data [1040]
Sep 06 03:23:00.16: [ 789]: <-- data [1032]
Sep 06 03:23:00.16: [ 789]: <-- data [1036]
Sep 06 03:23:00.16: [ 789]: <-- data [1030]
Sep 06 03:23:02.16: [ 789]: <-- data [1029]
Sep 06 03:23:02.16: [ 789]: <-- data [1030]
Sep 06 03:23:02.16: [ 789]: <-- data [1027]
Sep 06 03:23:02.16: [ 789]: <-- data [1033]
Sep 06 03:23:04.16: [ 789]: <-- data [1037]
Sep 06 03:23:04.16: [ 789]: <-- data [1034]
Sep 06 03:23:04.16: [ 789]: <-- data [1033]
Sep 06 03:23:04.16: [ 789]: <-- data [1030]
Sep 06 03:23:06.16: [ 789]: <-- data [1028]
Sep 06 03:23:06.16: [ 789]: <-- data [1032]
Sep 06 03:23:06.16: [ 789]: <-- data [1028]
Sep 06 03:23:08.16: [ 789]: <-- data [1028]
Sep 06 03:23:08.16: [ 789]: <-- data [1026]
Sep 06 03:23:08.16: [ 789]: <-- data [475]
Sep 06 03:23:08.16: [ 789]: SENT 48603 bytes of data
Sep 06 03:23:08.16: [ 789]: SEND 1D RTC
Sep 06 03:23:08.16: [ 789]: <-- data [29]
Sep 06 03:23:08.16: [ 789]: <-- data [2]
Sep 06 03:23:08.16: [ 789]: SEND end page
Sep 06 03:24:28.15: [ 789]: <-- [9:AT+FTH=3\r]
Sep 06 03:24:30.70: [ 789]: --> [0:]
Sep 06 03:24:30.71: [ 789]: SEND FAILED: Unspecified Transmit Phase C error; too many attempts to send
Sep 06 03:24:30.71: [ 789]: <-- [5:ATH0\r]
Sep 06 03:24:35.70: [ 789]: MODEM <Timeout>
Sep 06 03:24:35.71: [ 789]: SESSION END