HylaFAX The world's most advanced open source fax server |
Hi All, I am using PSTN+Asterisk+IAXModem+Hylafax to send and receive fax. It works fine for sending fax. But When I received fax with it, I often got the error messages as below log: ================================================================= Jan 24 16:26:00.51: [ 4309]: SESSION BEGIN 000000041 +86053188875688 Jan 24 16:26:00.51: [ 4309]: HylaFAX (tm) Version 5.5.0 Jan 24 16:26:00.51: [ 4309]: CallID: '83157063' '' '<NONE>' '88875688' Jan 24 16:26:00.51: [ 4309]: DynamicConfig: bin/dynconf.php '/dev/ttyIAX1' '83157063' '' '<NONE>' '88875688' Jan 24 16:26:00.60: [ 4309]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled Jan 24 16:26:00.60: [ 4309]: <-- [4:ATA\r] Jan 24 16:26:04.34: [ 4309]: --> [7:CONNECT] Jan 24 16:26:04.34: [ 4309]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1' Jan 24 16:26:04.34: [ 4309]: STATE CHANGE: ANSWERING -> RECEIVING Jan 24 16:26:04.34: [ 4309]: RECV FAX: begin Jan 24 16:26:04.34: [ 4309]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 AC 74 AC 74 0C> Jan 24 16:26:04.34: [ 4309]: <-- data [32] Jan 24 16:26:04.34: [ 4309]: <-- data [2] Jan 24 16:26:05.29: [ 4309]: --> [7:CONNECT] Jan 24 16:26:05.29: [ 4309]: <-- HDLC<23:FF C0 02 E6 76 96 26 76 86 CA 04 76 86 76 96 52 04 04 04 04 04 04 04> Jan 24 16:26:05.29: [ 4309]: <-- data [23] Jan 24 16:26:05.29: [ 4309]: <-- data [2] Jan 24 16:26:06.03: [ 4309]: --> [7:CONNECT] Jan 24 16:26:06.03: [ 4309]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18> Jan 24 16:26:06.03: [ 4309]: <-- data [13] Jan 24 16:26:06.03: [ 4309]: <-- data [2] Jan 24 16:26:06.62: [ 4309]: --> [2:OK] Jan 24 16:26:06.62: [ 4309]: <-- [9:AT+FRH=3\r] Jan 24 16:26:07.37: [ 4309]: --> [7:CONNECT] Jan 24 16:26:08.96: [ 4309]: --> HDLC<25:FF C0 C2 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 89 69> Jan 24 16:26:08.96: [ 4309]: --> [2:OK] Jan 24 16:26:08.96: [ 4309]: RECV recv TSI (sender id) Jan 24 16:26:08.96: [ 4309]: REMOTE TSI "" Jan 24 16:26:08.96: [ 4309]: <-- [9:AT+FRH=3\r] Jan 24 16:26:09.31: [ 4309]: --> [7:CONNECT] Jan 24 16:26:09.31: [ 4309]: --> HDLC<11:FF C8 C1 00 61 11 01 01 00 6A D0> Jan 24 16:26:09.35: [ 4309]: --> [2:OK] Jan 24 16:26:09.35: [ 4309]: RECV recv DCS (command signal) Jan 24 16:26:09.35: [ 4309]: REMOTE wants 9600 bit/s Jan 24 16:26:09.35: [ 4309]: REMOTE wants A4 page width (215 mm) Jan 24 16:26:09.35: [ 4309]: REMOTE wants unlimited page length Jan 24 16:26:09.35: [ 4309]: REMOTE wants 3.85 line/mm Jan 24 16:26:09.35: [ 4309]: REMOTE wants 2-D MR Jan 24 16:26:09.35: [ 4309]: RECV training at v.29 9600 bit/s Jan 24 16:26:09.35: [ 4309]: MODEM set XON/XOFF/DRAIN: input ignored, output generated Jan 24 16:26:09.35: [ 4309]: <-- [1 0:AT+FRM=96\r] Jan 24 16:26:09.67: [ 4309]: --> [7:CONNECT] Jan 24 16:26:11.19: [ 4309]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled Jan 24 16:26:11.19: [ 4309]: RECV: TCF 1825 bytes, 1% non-zero, 1805 zero-run Jan 24 16:26:11.19: [ 4309]: --> [10:NO CARRIER] Jan 24 16:26:11.19: [ 4309]: <-- [9:AT+FRS=7\r] Jan 24 16:26:11.25: [ 4309]: --> [2:OK] Jan 24 16:26:11.25: [ 4309]: TRAINING succeeded Jan 24 16:26:11.25: [ 4309]: <-- [9:AT+FTH=3\r] Jan 24 16:26:11.27: [ 4309]: --> [7:CONNECT] Jan 24 16:26:11.27: [ 4309]: <-- HDLC<3:FF C8 21> Jan 24 16:26:11.27: [ 4309]: <-- data [3] Jan 24 16:26:11.27: [ 4309]: <-- data [2] Jan 24 16:26:12.35: [ 4309]: --> [2:OK] Jan 24 16:26:12.35: [ 4309]: <-- [10:AT+FRM=96\r] Jan 24 16:26:14.52: [ 4309]: --> [7:CONNECT] Jan 24 16:26:14.52: [ 4309]: MODEM input buffering enabled Jan 24 16:26:14.52: [ 4309]: MODEM set XON/XOFF/FLUSH: input ignor ed, output generated Jan 24 16:26:14.52: [ 4309]: RECV: begin page Jan 24 16:26:41.10: [ 4309]: RECV/CQ: Bad 2D pixel count, row 540, got 4113, expected 1728 Jan 24 16:27:00.02: [ 4309]: RECV/CQ: Bad 1D pixel count, row 985, got 1815, expected 1728 Jan 24 16:27:00.42: [ 4309]: RECV/CQ: Invalid 2D code word, row 986, x 56 Jan 24 16:27:00.42: [ 4309]: RECV/CQ: Bad 2D pixel count, row 986, got 56, expected 1728 Jan 24 16:27:00.65: [ 4309]: RECV/CQ: Bad 2D pixel count, row 987, got 1729, expected 1728 Jan 24 16:27:02.50: [ 4309]: RECV/CQ: Invalid WhiteTable code word, row 990, x 1165 Jan 24 16:27:02.50: [ 4309]: RECV/CQ: Bad 1D pixel count, row 990, got 1165, expected 1728 Jan 24 16:27:02.92: [ 4309]: RECV/CQ: Invalid 2D code word, row 991, x 939 Jan 24 16:27:02.92: [ 4309]: RECV/CQ: Bad 2D pixel count, row 991, got 939, expected 1728 Jan 24 16:27:03.11: [ 4309]: RECV/CQ: Invalid BlackTable code word, row 994, x 1654 Jan 24 16:27:03.11: [ 4309 ]: RECV/CQ: Bad 1D pixel count, row 994, got 1654, expected 1728 Jan 24 16:27:04.15: [ 4309]: RECV/CQ: Bad 1D pixel count, row 997, got 2903, expected 1728 Jan 24 16:27:04.15: [ 4309]: RECV/CQ: Bad 1D pixel count, row 998, got 1855, expected 1728 Jan 24 16:27:04.38: [ 4309]: RECV/CQ: Invalid BlackTable code word, row 999, x 1300 Jan 24 16:27:04.38: [ 4309]: RECV/CQ: Bad 1D pixel count, row 999, got 1300, expected 1728 Jan 24 16:27:04.77: [ 4309]: RECV/CQ: Invalid EOL code word, row 1000, x 242 Jan 24 16:27:04.77: [ 4309]: RECV/CQ: Bad 2D pixel count, row 1000, got 242, expected 1728 Jan 24 16:27:04.99: [ 4309]: RECV/CQ: Bad 1D pixel count, row 1002, got 2890, expected 1728 Jan 24 16:27:05.15: [ 4309]: RECV/CQ: Adjusting for trailing noise (1 run) Jan 24 16:27:05.15: [ 4309]: RECV: 1002 total lines, 11 bad lines, 4 consecutive bad lines Jan 24 16:27:05.15: [ 4309]: RECV: end page Jan 24 16:27:05.15: [ 4309]: --> [10:NO CARRIER] Jan 24 16 :27:05.15: [ 4309]: <-- [9:AT+FRH=3\r] Jan 24 16:27:05.45: [ 4309]: --> [7:CONNECT] Jan 24 16:27:06.54: [ 4309]: --> HDLC<5:FF C8 F2 AC A0> Jan 24 16:27:06.54: [ 4309]: --> [2:OK] Jan 24 16:27:06.54: [ 4309]: RECV recv MPS (more pages, same document) Jan 24 16:27:06.54: [ 4309]: <-- [9:AT+FRS=7\r] Jan 24 16:27:06.66: [ 4309]: --> [2:OK] Jan 24 16:27:06.66: [ 4309]: RECV send MCF (message confirmation) Jan 24 16:27:06.66: [ 4309]: <-- [9:AT+FTH=3\r] Jan 24 16:27:06.78: [ 4309]: --> [7:CONNECT] Jan 24 16:27:06.78: [ 4309]: <-- HDLC<3:FF C8 31> Jan 24 16:27:06.78: [ 4309]: <-- data [3] Jan 24 16:27:06.78: [ 4309]: <-- data [2] Jan 24 16:27:06.78: [ 4309]: RECV FAX (000000041): from , page 1 in 0:01:01, INF, 3.85 line/mm, 2-D MR, 9600 bit/s Jan 24 16:27:07.85: [ 4309]: --> [2:OK] Jan 24 16:27:07.85: [ 4309]: <-- [10:AT+FRM=96\r] Jan 24 16:27:10.05: [ 4309]: --> [7:CONNECT] Ja n 24 16:27:10.05: [ 4309]: MODEM set XON/XOFF/FLUSH: input ignored, output generated Jan 24 16:27:10.05: [ 4309]: RECV: begin page Jan 24 16:27:13.88: [ 4309]: RECV/CQ: Bad 2D pixel count, row 135, got 1703, expected 1728 Jan 24 16:27:13.88: [ 4309]: RECV/CQ: Bad 2D pixel count, row 136, got 2057, expected 1728 Jan 24 16:27:17.67: [ 4309]: RECV/CQ: Invalid 2D code word, row 223, x 1686 Jan 24 16:27:17.67: [ 4309]: RECV/CQ: Bad 2D pixel count, row 223, got 1686, expected 1728 Jan 24 16:27:17.87: [ 4309]: RECV/CQ: Bad 1D pixel count, row 224, got 1734, expected 1728 Jan 24 16:27:18.09: [ 4309]: RECV/CQ: Invalid 2D code word, row 225, x 1484 Jan 24 16:27:18.09: [ 4309]: RECV/CQ: Bad 2D pixel count, row 225, got 1484, expected 1728 Jan 24 16:27:18.49: [ 4309]: RECV/CQ: Invalid EOL code word, row 227, x 1276 Jan 24 16:27:18.49: [ 4309]: RECV/CQ: Bad 2D pixel count, row 227, got 1276, expected 1728 Jan 24 16:27:18.49: [ 4309]: RECV/CQ: Bad 1D pixel count, row 228, got 1914, expected 1728 Jan 24 16:27:20.56: [ 4309]: RECV/CQ: Bad 2D pixel count, row 232, got 1741, expected 1728 Jan 24 16:27:20.76: [ 4309]: RECV/CQ: Bad 1D pixel count, row 234, got 1862, expected 1728 Jan 24 16:27:22.22: [ 4309]: RECV/CQ: Bad 2D pixel count, row 237, got 1729, expected 1728 Jan 24 16:27:22.46: [ 4309]: RECV/CQ: Bad 1D pixel count, row 238, got 5396, expected 1728 Jan 24 16:27:22.66: [ 4309]: RECV/CQ: Invalid 2D code word, row 239, x 7 Jan 24 16:27:22.66: [ 4309]: RECV/CQ: Bad 2D pixel count, row 239, got 7, expected 1728 Jan 24 16:27:23.08: [ 4309]: RECV/CQ: Bad 1D pixel count, row 240, got 4542, expected 1728 Jan 24 16:27:24.51: [ 4309]: RECV/CQ: Invalid BlackTable code word, row 243, x 888 Jan 24 16:27:24.51: [ 4309]: RECV/CQ: Bad 1D pixel count, row 243, got 888, expected 1728 Jan 24 16:27:24.51: [ 4309]: RECV/CQ: Bad 1D pixel count, row 244, got 2948, expected 1728 Jan 24 16:27:24.51: [ 4309]: RECV/C Q: Bad 1D pixel count, row 245, got 1758, expected 1728 Jan 24 16:27:26.39: [ 4309]: RECV/CQ: Bad 1D pixel count, row 248, got 1975, expected 1728 Jan 24 16:27:26.79: [ 4309]: RECV/CQ: Bad 1D pixel count, row 250, got 2669, expected 1728 Jan 24 16:27:26.79: [ 4309]: RECV/CQ: Bad 1D pixel count, row 251, got 1959, expected 1728 Jan 24 16:27:27.63: [ 4309]: RECV/CQ: Bad 1D pixel count, row 252, got 2284, expected 1728 Jan 24 16:27:27.83: [ 4309]: RECV/CQ: Bad 1D pixel count, row 253, got 2392, expected 1728 Jan 24 16:27:28.24: [ 4309]: RECV/CQ: Bad 1D pixel count, row 254, got 2515, expected 1728 Jan 24 16:27:29.49: [ 4309]: RECV/CQ: Bad 1D pixel count, row 256, got 1891, expected 1728 Jan 24 16:27:29.70: [ 4309]: RECV/CQ: Bad 2D pixel count, row 257, got 1729, expected 1728 Jan 24 16:27:29.90: [ 4309]: RECV/CQ: Bad 2D pixel count, row 258, got 1729, expected 1728 Jan 24 16:27:30.34: [ 4309]: RECV/CQ: Bad 1D pixel count, row 259, got 1745, expecte d 1728 Jan 24 16:27:30.74: [ 4309]: RECV/CQ: Bad 1D pixel count, row 260, got 2413, expected 1728 Jan 24 16:27:30.96: [ 4309]: RECV/CQ: Invalid 2D code word, row 261, x 76 Jan 24 16:27:30.96: [ 4309]: RECV/CQ: Bad 2D pixel count, row 261, got 76, expected 1728 Jan 24 16:27:31.38: [ 4309]: RECV/CQ: Bad 1D pixel count, row 262, got 2973, expected 1728 Jan 24 16:27:31.58: [ 4309]: RECV/CQ: Bad 2D pixel count, row 263, got 1729, expected 1728 Jan 24 16:27:32.00: [ 4309]: RECV/CQ: Bad 1D pixel count, row 264, got 1735, expected 1728 Jan 24 16:27:32.19: [ 4309]: RECV/CQ: Bad 2D pixel count, row 265, got 2048, expected 1728 Jan 24 16:27:32.39: [ 4309]: RECV/CQ: Bad 1D pixel count, row 266, got 2363, expected 1728 Jan 24 16:27:32.39: [ 4309]: RECV/CQ: Bad 1D pixel count, row 267, got 3151, expected 1728 Jan 24 16:27:33.03: [ 4309]: RECV/CQ: Bad 1D pixel count, row 268, got 2191, expected 1728 Jan 24 16:27:33.65: [ 4309]: RECV/CQ: Bad 1D pixel count, row 269, got 1757, expected 1728 Jan 24 16:27:34.27: [ 4309]: RECV/CQ: Invalid WhiteTable code word, row 271, x 937 Jan 24 16:27:34.27: [ 4309]: RECV/CQ: Bad 1D pixel count, row 271, got 937, expected 1728 Jan 24 16:27:35.31: [ 4309]: RECV/CQ: Bad 1D pixel count, row 273, got 3289, expected 1728 Jan 24 16:27:36.35: [ 4309]: RECV/CQ: Bad 1D pixel count, row 274, got 2803, expected 1728 Jan 24 16:27:37.58: [ 4309]: RECV/CQ: Bad 1D pixel count, row 275, got 1961, expected 1728 Jan 24 16:27:38.22: [ 4309]: RECV/CQ: Bad 1D pixel count, row 276, got 2053, expected 1728 Jan 24 16:27:39.46: [ 4309]: RECV/CQ: Invalid EOL code word, row 278, x 16 Jan 24 16:27:39.46: [ 4309]: RECV/CQ: Bad 2D pixel count, row 278, got 16, expected 1728 Jan 24 16:27:39.88: [ 4309]: RECV/CQ: Bad 2D pixel count, row 280, got 1729, expected 1728 Jan 24 16:27:40.49: [ 4309]: RECV/CQ: Bad 1D pixel count, row 282, got 1888, expected 1728 Jan 24 16:27:40.49: [ 4309]: RECV/CQ: Ba d 1D pixel count, row 283, got 1983, expected 1728 Jan 24 16:27:40.49: [ 4309]: RECV/CQ: Bad 1D pixel count, row 284, got 390, expected 1728 Jan 24 16:27:40.69: [ 4309]: RECV/CQ: Bad 1D pixel count, row 285, got 1825, expected 1728 Jan 24 16:27:40.91: [ 4309]: RECV/CQ: Bad 1D pixel count, row 286, got 1843, expected 1728 Jan 24 16:27:41.95: [ 4309]: RECV/CQ: Bad 1D pixel count, row 287, got 2894, expected 1728 Jan 24 16:27:41.95: [ 4309]: RECV/CQ: Invalid 2D code word, row 288, x 944 Jan 24 16:27:41.95: [ 4309]: RECV/CQ: Bad 2D pixel count, row 288, got 944, expected 1728 Jan 24 16:27:45.06: [ 4309]: RECV/CQ: Bad 1D pixel count, row 291, got 2446, expected 1728 Jan 24 16:27:45.06: [ 4309]: RECV/CQ: Bad 1D pixel count, row 292, got 1761, expected 1728 Jan 24 16:27:45.70: [ 4309]: RECV/CQ: Bad 1D pixel count, row 293, got 1809, expected 1728 Jan 24 16:27:46.33: [ 4309]: RECV/CQ: Bad 1D pixel count, row 294, got 2097, expected 1728 Jan 24 16:27: 46.51: [ 4309]: RECV/CQ: Bad 1D pixel count, row 295, got 1872, expected 1728 Jan 24 16:27:47.36: [ 4309]: RECV/CQ: Invalid EOL code word, row 297, x 661 Jan 24 16:27:47.36: [ 4309]: RECV/CQ: Bad 2D pixel count, row 297, got 661, expected 1728 Jan 24 16:27:47.56: [ 4309]: RECV/CQ: Bad 1D pixel count, row 300, got 2136, expected 1728 Jan 24 16:27:47.98: [ 4309]: RECV/CQ: Bad 1D pixel count, row 302, got 1747, expected 1728 Jan 24 16:27:48.17: [ 4309]: RECV/CQ: Bad 1D pixel count, row 303, got 1887, expected 1728 Jan 24 16:27:48.17: [ 4309]: RECV/CQ: Invalid 2D code word, row 304, x 119 Jan 24 16:27:48.17: [ 4309]: RECV/CQ: Bad 2D pixel count, row 304, got 119, expected 1728 Jan 24 16:27:49.63: [ 4309]: RECV/CQ: Bad 1D pixel count, row 306, got 2219, expected 1728 Jan 24 16:27:50.25: [ 4309]: RECV/CQ: Bad 2D pixel count, row 307, got 1730, expected 1728 Jan 24 16:27:51.29: [ 4309]: RECV/CQ: Bad 1D pixel count, row 309, got 2567, expected 1728 J an 24 16:27:51.91: [ 4309]: RECV/CQ: Bad 1D pixel count, row 310, got 1730, expected 1728 Jan 24 16:27:52.95: [ 4309]: RECV/CQ: Bad 1D pixel count, row 313, got 1763, expected 1728 Jan 24 16:27:53.14: [ 4309]: RECV/CQ: Bad 2D pixel count, row 314, got 3523, expected 1728 Jan 24 16:27:53.58: [ 4309]: RECV/CQ: Bad 2D pixel count, row 315, got 1729, expected 1728 Jan 24 16:27:53.79: [ 4309]: RECV/CQ: Bad 2D pixel count, row 316, got 1729, expected 1728 Jan 24 16:27:57.04: [ 4309]: RECV/CQ: Invalid 2D code word, row 320, x 924 Jan 24 16:27:57.04: [ 4309]: RECV/CQ: Bad 2D pixel count, row 320, got 924, expected 1728 Jan 24 16:27:59.32: [ 4309]: RECV/CQ: Invalid 2D code word, row 324, x 842 Jan 24 16:27:59.32: [ 4309]: RECV/CQ: Bad 2D pixel count, row 324, got 842, expected 1728 Jan 24 16:28:01.95: [ 4309]: RECV: 326 total lines, 73 bad lines, 14 consecutive bad lines Jan 24 16:28:01.95: [ 4309]: RECV: REJECT page quality, 77% good lines (95% required ) Jan 24 16:28:01.95: [ 4309]: RECV: end page Jan 24 16:28:01.95: [ 4309]: --> [10:NO CARRIER] Jan 24 16:28:01.95: [ 4309]: <-- [9:AT+FRH=3\r] Jan 24 16:28:02.27: [ 4309]: --> [7:CONNECT] Jan 24 16:28:03.35: [ 4309]: --> HDLC<5:FF C8 F4 CC 66> Jan 24 16:28:03.35: [ 4309]: --> [2:OK] Jan 24 16:28:03.35: [ 4309]: RECV recv EOP (no more pages or documents) Jan 24 16:28:03.35: [ 4309]: <-- [9:AT+FRS=7\r] Jan 24 16:28:03.47: [ 4309]: --> [2:OK] Jan 24 16:28:03.47: [ 4309]: RECV send RTN (retrain negative) Jan 24 16:28:03.47: [ 4309]: <-- [9:AT+FTH=3\r] Jan 24 16:28:03.59: [ 4309]: --> [7:CONNECT] Jan 24 16:28:03.59: [ 4309]: <-- HDLC<3:FF C8 32> Jan 24 16:28:03.59: [ 4309]: <-- data [3] Jan 24 16:28:03.59: [ 4309]: <-- data [2] Jan 24 16:28:03.59: [ 4309]: RECV FAX (000000041): from , page 2 in 0:00:56, INF, 3.85 line/mm, 2-D MR, 9600 bit/s Jan 24 16:28:04.67: [ 4309]: --> [2:OK] Jan 24 16:28:04.67: [ 4309]: <-- [9:AT+FRH=3\r] Jan 24 16:28:04.99: [ 4309]: --> [7:CONNECT] Jan 24 16:28:06.10: [ 4309]: --> HDLC<5:FF C8 DF 59 6F> Jan 24 16:28:06.10: [ 4309]: --> [2:OK] Jan 24 16:28:06.10: [ 4309]: RECV recv DCN (disconnect) Jan 24 16:28:06.10: [ 4309]: RECV FAX: RSPREC error/got DCN (sender abort) {E103} Jan 24 16:28:06.10: [ 4309]: RECV FAX (000000041): session with terminated abnormally: RSPREC error/got DCN (sender abort) {E103} Jan 24 16:28:06.10: [ 4309]: RECV FAX: bin/faxrcvd.php 'recvq/fax000000032.tif' 'ttyIAX1' '000000041' 'RSPREC error/got DCN (sender abort) {E103}' '83157063' '' '<NONE>' '88875688' Jan 24 16:28:06.10: [ 4309]: RECV FAX: end Jan 24 16:28:06.10: [ 4309]: RECV FAX (000000041): recvq/fax000000032.tif from , subaddress <unspecified>, 2 pages in 0:02:02 Jan 24 16:28:06.10: [ 4309]: SESSION END ==================================================================== ================== I really appreciate your nice help on this! Thanks a lot, Songtao |