HylaFAX The world's most advanced open source fax server

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

[hylafax-users] puzzled



Hi,

I'm faced with receiving faxes which do no show oddies in the log but
are mailed with an error and have a header, data but NO tiff directory
attached. I attached the mail message and the logfile and a headerdump.
I disabled qualitycheck in the config

I'm running hylfax4.1beta3 with libtiff3.5.5.

I tried to follow 

Class2Modem:recvPage() to find a cause
this function has a local var: ppr which is not initialised.
This var may be touched in RecvPPM(tif,ppr)

BUT, RecvPPM() has a LOCAL variable ppr so I understand that this one
is updated instead of the one in the call.

in recvPage the next place where ppr can be touched is in hostDidCQ
but if no CQ is selected ppr is leaved untouched.

than in recvPage() we have the test, so what is in ppr now?

if (ppr &1) .....

I believe I missed something but I can't see it.

regards

Kees
0000	49 49 2a 00 56 b6 00 00  ff ff ff ff ff ff ff ff   II*.V...........
0010	00 c0 b2 59 01 40 01 40  e2 a6 b3 64 ea a8 a1 02   ...Y.@.@...d....
0020	cc 31 47 74 33 cc 33 04  66 88 cd 3c 73 44 dc 74   .1Gt3.3.f..<sD.t
0030	b1 45 dc fc e8 6f aa e9  01 33 c4 11 5b 74 33 cc   .E...o...3..[t3.
0040	11 fe 92 a9 3f 4f 6c f1  3c 43 38 ce 96 24 f1 84   ....?Ol.<C8..$..
0050	ff b3 cd 1c 7d ba d8 22  6e 9e 27 21 8e d8 e6 89   ....}.."n.'!....
0060	b8 0f 00 40 a6 46 10 6f  6a cc d6 ff 9b 1a fd bf   ...@.F.oj.......
0070	f4 ff 10 6f 6a cc d6 a6  38 d5 54 9b 23 88 87 45   ...oj...8.T.#..E
0080	35 d5 66 2b cc 30 63 88  37 35 25 51 4d b5 45 0d   5.f+.0c.75%QM.E.
0090	17 7f 18 04 f1 70 98 61  c6 10 6f ea 40 8b 1a 1e   .....p.a..o.@...
Mar 21 22:54:22.07: [ 2341]: SESSION BEGIN 00000870 31104208681
Mar 21 22:54:22.07: [ 2341]: <-- [4:ATA\r]
Mar 21 22:54:30.29: [ 2341]: --> [5:+FCON]
Mar 21 22:54:30.29: [ 2341]: ANSWER: FAX CONNECTION
Mar 21 22:54:30.29: [ 2341]: RECV FAX: begin
Mar 21 22:54:32.22: [ 2341]: --> [29:+FTSI: " (31)-(0)72- 5140677"]
Mar 21 22:54:32.22: [ 2341]: REMOTE TSI "(31)-(0)72- 5140677"
Mar 21 22:54:32.33: [ 2341]: --> [22:+FDCS: 1,5,0,2,1,0,0,0]
Mar 21 22:54:32.33: [ 2341]: REMOTE wants 14400 bit/s
Mar 21 22:54:32.33: [ 2341]: REMOTE wants page width 1728 pixels in 215 mm
Mar 21 22:54:32.33: [ 2341]: REMOTE wants unlimited page length 
Mar 21 22:54:32.33: [ 2341]: REMOTE wants 7.7 line/mm
Mar 21 22:54:32.33: [ 2341]: REMOTE wants 2-D MR
Mar 21 22:54:35.75: [ 2341]: --> [2:OK]
Mar 21 22:54:35.75: [ 2341]: <-- [7:AT+FDR\r]
Mar 21 22:54:37.40: [ 2341]: --> [5:+FCFR]
Mar 21 22:54:37.40: [ 2341]: --> [22:+FDCS: 1,5,0,2,1,0,0,0]
Mar 21 22:54:37.40: [ 2341]: REMOTE wants 14400 bit/s
Mar 21 22:54:37.40: [ 2341]: REMOTE wants page width 1728 pixels in 215 mm
Mar 21 22:54:37.40: [ 2341]: REMOTE wants unlimited page length 
Mar 21 22:54:37.40: [ 2341]: REMOTE wants 7.7 line/mm
Mar 21 22:54:37.40: [ 2341]: REMOTE wants 2-D MR
Mar 21 22:54:37.80: [ 2341]: --> [7:CONNECT]
Mar 21 22:54:37.80: [ 2341]: RECV: begin page
Mar 21 22:54:37.80: [ 2341]: RECV: send trigger 022
Mar 21 22:54:37.80: [ 2341]: <-- data [1]
Mar 21 22:54:56.02: [ 2341]: RECV: 32741 bytes of data, 1799 total lines
Mar 21 22:55:03.92: [ 2341]: RECV: 13928 bytes of data, 2323 total lines
Mar 21 22:55:03.92: [ 2341]: --> [8:+FPTS: 1]
Mar 21 22:55:05.21: [ 2341]: --> [7:+FET: 2]
Mar 21 22:55:05.21: [ 2341]: RECV recv EOP (no more pages or documents)
Mar 21 22:55:05.21: [ 2341]: --> [2:OK]
Mar 21 22:55:05.21: [ 2341]: RECV send MCF (message confirmation)
Mar 21 22:55:05.21: [ 2341]: RECV FAX (00000870): from (31)-(0)72- 5140677, page 1 in 0:30, INF, 7.7 line/mm, 2-D MR
Mar 21 22:55:05.21: [ 2341]: RECV FAX (00000870): recvq/fax00040.tif from (31)-(0)72- 5140677, route to <unspecified>, 1 pages in 0:35
Mar 21 22:55:05.23: [ 2341]: <-- [7:AT+FDR\r]
Mar 21 22:55:08.76: [ 2341]: --> [8:+FHNG: 0]
Mar 21 22:55:08.76: [ 2341]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Mar 21 22:55:08.76: [ 2341]: RECV FAX: bin/faxrcvd "recvq/fax00040.tif" "ttyS1" "00000870" ""
Mar 21 22:55:09.08: [ 2341]: RECV FAX: end
Mar 21 22:55:09.08: [ 2341]: SESSION END
To: FaxMaster@schoen3.schoen.nl
From: The HylaFAX Receive Agent <fax@schoen.nl>
Subject: facsimile not received

An attempt to receive facsimile on ttyS1 failed because:

    

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

Mar 24 12:43:59.33: [ 8392]: SESSION BEGIN 00000873 31104208681
Mar 24 12:43:59.33: [ 8392]: <-- [4:ATA\r]
Mar 24 12:44:06.69: [ 8392]: --> [5:+FCON]
Mar 24 12:44:06.70: [ 8392]: ANSWER: FAX CONNECTION
Mar 24 12:44:06.70: [ 8392]: RECV FAX: begin
Mar 24 12:44:08.73: [ 8392]: --> [29:+FTSI: " (31)-(0)72- xxxxxxx"]
Mar 24 12:44:08.73: [ 8392]: REMOTE TSI "(31)-(0)72- xxxxxxx"
Mar 24 12:44:08.73: [ 8392]: --> [22:+FDCS: 1,5,0,2,1,0,0,0]
Mar 24 12:44:08.73: [ 8392]: REMOTE wants 14400 bit/s
Mar 24 12:44:08.73: [ 8392]: REMOTE wants page width 1728 pixels in 215 mm
Mar 24 12:44:08.73: [ 8392]: REMOTE wants unlimited page length 
Mar 24 12:44:08.73: [ 8392]: REMOTE wants 7.7 line/mm
Mar 24 12:44:08.73: [ 8392]: REMOTE wants 2-D MR
Mar 24 12:44:12.18: [ 8392]: --> [2:OK]
Mar 24 12:44:12.18: [ 8392]: <-- [7:AT+FDR\r]
Mar 24 12:44:13.83: [ 8392]: --> [5:+FCFR]
Mar 24 12:44:13.83: [ 8392]: --> [22:+FDCS: 1,5,0,2,1,0,0,0]
Mar 24 12:44:13.83: [ 8392]: REMOTE wants 14400 bit/s
Mar 24 12:44:13.83: [ 8392]: REMOTE wants page width 1728 pixels in 215 mm
Mar 24 12:44:13.83: [ 8392]: REMOTE wants unlimited page length 
Mar 24 12:44:13.83: [ 8392]: REMOTE wants 7.7 line/mm
Mar 24 12:44:13.83: [ 8392]: REMOTE wants 2-D MR
Mar 24 12:44:14.24: [ 8392]: --> [7:CONNECT]
Mar 24 12:44:14.24: [ 8392]: RECV: begin page
Mar 24 12:44:14.24: [ 8392]: RECV: send trigger 022
Mar 24 12:44:32.47: [ 8392]: RECV: 32717 bytes of data, 883 total lines
Mar 24 12:44:50.63: [ 8392]: RECV: 32766 bytes of data, 1610 total lines
Mar 24 12:45:05.79: [ 8392]: RECV: 26958 bytes of data, 2323 total lines
Mar 24 12:45:05.79: [ 8392]: --> [8:+FPTS: 1]
Mar 24 12:45:07.10: [ 8392]: --> [7:+FET: 0]
Mar 24 12:45:07.10: [ 8392]: RECV recv MPS (more pages, same document)
Mar 24 12:45:07.10: [ 8392]: --> [2:OK]
Mar 24 12:45:07.11: [ 8392]: RECV send MCF (message confirmation)
Mar 24 12:45:07.11: [ 8392]: RECV FAX (00000873): from (31)-(0)72- xxxxxxx, page 1 in 0:55, INF, 7.7 line/mm, 2-D MR
Mar 24 12:45:07.11: [ 8392]: <-- [7:AT+FDR\r]
Mar 24 12:45:09.26: [ 8392]: --> [7:CONNECT]
Mar 24 12:45:09.26: [ 8392]: RECV: begin page
Mar 24 12:45:09.26: [ 8392]: RECV: send trigger 022
Mar 24 12:45:27.49: [ 8392]: RECV: 32691 bytes of data, 759 total lines
Mar 24 12:45:45.71: [ 8392]: RECV: 32717 bytes of data, 1535 total lines
Mar 24 12:46:02.62: [ 8392]: RECV: 30280 bytes of data, 2321 total lines
Mar 24 12:46:02.62: [ 8392]: --> [8:+FPTS: 1]
Mar 24 12:46:03.89: [ 8392]: --> [7:+FET: 0]
Mar 24 12:46:03.89: [ 8392]: RECV recv MPS (more pages, same document)
Mar 24 12:46:03.89: [ 8392]: --> [2:OK]
Mar 24 12:46:03.89: [ 8392]: RECV send MCF (message confirmation)
Mar 24 12:46:03.89: [ 8392]: RECV FAX (00000873): from (31)-(0)72- xxxxxxx, page 2 in 0:56, INF, 7.7 line/mm, 2-D MR
Mar 24 12:46:03.89: [ 8392]: <-- [7:AT+FDR\r]
Mar 24 12:46:06.00: [ 8392]: --> [7:CONNECT]
Mar 24 12:46:06.00: [ 8392]: RECV: begin page
Mar 24 12:46:06.00: [ 8392]: RECV: send trigger 022
Mar 24 12:46:24.28: [ 8392]: RECV: 32752 bytes of data, 811 total lines
Mar 24 12:46:42.51: [ 8392]: RECV: 32766 bytes of data, 1572 total lines
Mar 24 12:46:58.66: [ 8392]: RECV: 28927 bytes of data, 2322 total lines
Mar 24 12:46:58.66: [ 8392]: --> [8:+FPTS: 1]
Mar 24 12:46:59.97: [ 8392]: --> [7:+FET: 0]
Mar 24 12:46:59.97: [ 8392]: RECV recv MPS (more pages, same document)
Mar 24 12:46:59.97: [ 8392]: --> [2:OK]
Mar 24 12:46:59.97: [ 8392]: RECV send MCF (message confirmation)
Mar 24 12:46:59.97: [ 8392]: RECV FAX (00000873): from (31)-(0)72- xxxxxxx, page 3 in 0:56, INF, 7.7 line/mm, 2-D MR
Mar 24 12:46:59.97: [ 8392]: <-- [7:AT+FDR\r]
Mar 24 12:47:02.26: [ 8392]: --> [7:CONNECT]
Mar 24 12:47:02.26: [ 8392]: RECV: begin page
Mar 24 12:47:02.26: [ 8392]: RECV: send trigger 022
Mar 24 12:47:20.56: [ 8392]: RECV: 32762 bytes of data, 757 total lines
Mar 24 12:47:38.72: [ 8392]: RECV: 32766 bytes of data, 1481 total lines
Mar 24 12:47:56.91: [ 8392]: RECV: 32702 bytes of data, 2230 total lines
Mar 24 12:47:57.53: [ 8392]: RECV: 901 bytes of data, 2322 total lines
Mar 24 12:47:57.53: [ 8392]: --> [8:+FPTS: 1]
Mar 24 12:47:58.82: [ 8392]: --> [7:+FET: 2]
Mar 24 12:47:58.82: [ 8392]: RECV recv EOP (no more pages or documents)
Mar 24 12:47:58.82: [ 8392]: --> [2:OK]
Mar 24 12:47:58.82: [ 8392]: RECV send MCF (message confirmation)
Mar 24 12:47:58.82: [ 8392]: RECV FAX (00000873): from (31)-(0)72- xxxxxxx, page 4 in 0:59, INF, 7.7 line/mm, 2-D MR
Mar 24 12:47:58.82: [ 8392]: RECV FAX (00000873): recvq/fax00042.tif from (31)-(0)72- xxxxxxx, route to <unspecified>, 4 pages in 3:52
Mar 24 12:47:58.85: [ 8392]: <-- [7:AT+FDR\r]
Mar 24 12:48:02.40: [ 8392]: --> [8:+FHNG: 0]
Mar 24 12:48:02.40: [ 8392]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Mar 24 12:48:02.41: [ 8392]: RECV FAX: bin/faxrcvd "recvq/fax00042.tif" "ttyS1" "00000873" ""




Project hosted by iFAX Solutions