HylaFAX The world's most advanced open source fax server

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

recv error



Hello!

Thanks for helping me with my initial problem on getting hfaxd
started. Now I've run into another strange phenomenon:

When I receive a fax, I get only to see the first few scanlines
(e.g. 66 or 159). The fax systems sends me a mail telling me there
were no problems, and also the sending fax station reported no error.

Now I'm a bit clueless as I don't know if this is a modem misfunction
(although it works fine with other software like mgetty).
Most likely some configuration parameter is wrong, but I don't know
where to look. I've got a Creatix VC144LF modem, Firmware V1.500-DS29F
(Rockwell Chipset).

Has anyone seen this, too?
Many thanks in advance,
	dirk.


Here's the modem configuration:
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class2          # use class 2 interface
ModemRate:              38400
ModemFlowControl:       rtscts          # default
ModemWaitForConnect:    yes
#
ModemResetCmds:         AT&F0           # what you want for a Supra
ModemNoFlowCmd:         AT&K0           # disable flow control cmd
ModemHardFlowCmd:       AT&K3           # hardware flow control cmd
ModemSoftFlowCmd:       AT&K4           # software flow control cmd
ModemSetupDTRCmd:       AT&D2           # DTR off causes modem to reset
#ModemSetupDTRCmd:      AT&D2S25=1S38=0 # Dynalink 1414VE needs this
ModemSetupDCDCmd:       AT&C1           # DCD follows carrier
#ModemSetupAACmd:       AT+FAA=1+FCLASS=0 # enable in current class
#
ModemSendFillOrder:     LSB2MSB         # as expected
ModemRecvFillOrder:     MSB2LSB         # opposite of what makes sense
#
ModemAnswerFaxBeginCmd: "<19200><xon>"  # modem switches on fax receive


Here's a receive session log:


Mar 18 17:29:35.91: [  125]: <-- [4:ATA\r]
Mar 18 17:29:44.81: [  125]: --> [5:+FCON]
Mar 18 17:29:44.81: [  125]: MODEM set baud rate: 19200 baud (flow control unchanged)
Mar 18 17:29:44.81: [  125]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Mar 18 17:29:44.81: [  125]: ANSWER: FAX CONNECTION
Mar 18 17:29:44.82: [  125]: STATE CHANGE: ANSWERING -> RECEIVING
Mar 18 17:29:44.82: [  125]: MODEM input buffering enabled
Mar 18 17:29:44.82: [  125]: RECV FAX: begin
Mar 18 17:29:46.42: [  125]: --> [29:+FTSI: "XXXXXXXXXXXXXXXXXXXX"]
Mar 18 17:29:46.55: [  125]: REMOTE TSI "XXXXXXXXXXXXXXX"
Mar 18 17:29:46.82: [  125]: --> [22:+FDCS: 0,3,0,2,0,0,0,3]
Mar 18 17:29:46.82: [  125]: REMOTE wants 9600 bit/s
Mar 18 17:29:46.82: [  125]: REMOTE wants page width 1728 pixels in 215 mm
Mar 18 17:29:46.82: [  125]: REMOTE wants unlimited page length 
Mar 18 17:29:46.82: [  125]: REMOTE wants 3.85 line/mm
Mar 18 17:29:46.82: [  125]: REMOTE wants 1-D MR
Mar 18 17:29:46.82: [  125]: --> [2:OK]
Mar 18 17:29:46.83: [  125]: <-- [7:AT+FDR\r]
Mar 18 17:29:48.56: [  125]: --> [5:+FCFR]
Mar 18 17:29:51.78: [  125]: --> [22:+FDCS: 0,3,0,2,0,0,0,3]
Mar 18 17:29:51.78: [  125]: REMOTE wants 9600 bit/s
Mar 18 17:29:51.78: [  125]: REMOTE wants page width 1728 pixels in 215 mm
Mar 18 17:29:51.78: [  125]: REMOTE wants unlimited page length 
Mar 18 17:29:51.78: [  125]: REMOTE wants 3.85 line/mm
Mar 18 17:29:51.78: [  125]: REMOTE wants 1-D MR
Mar 18 17:29:51.78: [  125]: --> [7:CONNECT]
Mar 18 17:29:51.78: [  125]: RECV: begin page
Mar 18 17:29:51.85: [  125]: MODEM set XON/XOFF/FLUSH: input ignored, output generated
Mar 18 17:29:51.85: [  125]: RECV: send trigger 021
Mar 18 17:29:51.85: [  125]: <-- data [1]
Mar 18 17:30:23.23: [  125]: RECV/CQ: Bad 1D pixel count, row 8, got 1824, expected 1728
Mar 18 17:30:30.31: [  125]: RECV/CQ: Bad 1D pixel count, row 526, got 1721, expected 1728
Mar 18 17:30:31.63: [  125]: RECV: 613 total lines, 2 bad lines, 1 consecutive bad lines
Mar 18 17:30:31.64: [  125]: MODEM set XON/XOFF/DRAIN: input interpreted, output disabled
Mar 18 17:30:31.74: [  125]: --> [17:+FPTS: 1,2219,0,0]
Mar 18 17:30:33.23: [  125]: --> [7:+FET: 0]
Mar 18 17:30:33.23: [  125]: RECV recv MPS (more pages, same document)
Mar 18 17:30:33.23: [  125]: --> [2:OK]
Mar 18 17:30:33.28: [  125]: RECV send MCF (message confirmation)
Mar 18 17:30:33.28: [  125]: RECV FAX (00000044): from XXXXXXXXXXXXXXX, page 1 in 0:47, INF, 3.85 line/mm, 1-D MR
Mar 18 17:30:33.28: [  125]: <-- [7:AT+FDR\r]
Mar 18 17:30:36.60: [  125]: --> [7:CONNECT]
Mar 18 17:30:36.60: [  125]: RECV: begin page
Mar 18 17:30:36.60: [  125]: MODEM set XON/XOFF/FLUSH: input ignored, output generated
Mar 18 17:30:36.60: [  125]: RECV: send trigger 021
Mar 18 17:30:36.60: [  125]: <-- data [1]
Mar 18 17:31:18.95: [  125]: RECV: 501 total lines, 0 bad lines, 0 consecutive bad lines
Mar 18 17:31:18.96: [  125]: MODEM set XON/XOFF/DRAIN: input interpreted, output disabled
Mar 18 17:31:19.06: [  125]: --> [17:+FPTS: 1,2219,0,0]
Mar 18 17:31:20.51: [  125]: --> [7:+FET: 0]
Mar 18 17:31:20.51: [  125]: RECV recv MPS (more pages, same document)

[...]

Mar 18 17:36:20.91: [  125]: RECV: 426 total lines, 0 bad lines, 0 consecutive bad lines
Mar 18 17:36:20.94: [  125]: MODEM set XON/XOFF/DRAIN: input interpreted, output disabled
Mar 18 17:36:21.04: [  125]: --> [17:+FPTS: 1,2219,0,0]
Mar 18 17:36:22.49: [  125]: --> [7:+FET: 2]
Mar 18 17:36:22.49: [  125]: RECV recv EOP (no more pages or documents)
Mar 18 17:36:22.49: [  125]: --> [2:OK]
Mar 18 17:36:22.50: [  125]: RECV send MCF (message confirmation)
Mar 18 17:36:22.50: [  125]: RECV FAX (00000044): from XXXXXXXXXXXXXXX, page 8 in 0:46, INF, 3.85 line/mm, 1-D MR
Mar 18 17:36:22.53: [  125]: RECV FAX (00000044): recvq/fax00008.tif from XXXXXXXXXXXXXXX, route to <unspecified>, 8 pages in 6:38
Mar 18 17:36:22.54: [  125]: <-- [7:AT+FDR\r]
Mar 18 17:36:26.25: [  125]: --> [8:+FHNG: 0]
Mar 18 17:36:26.25: [  125]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Mar 18 17:36:26.26: [  125]: RECV FAX: bin/faxrcvd "recvq/fax00008.tif" "ttyS1" "00000044" ""
Mar 18 17:36:27.48: [  125]: RECV FAX: end
Mar 18 17:36:27.48: [  125]: SESSION END




Project hosted by iFAX Solutions