<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm trying to install the RxFax in Asterisk.
After much trouble getting app_rxfax.c (and friends) compiles and installed
into Asterisk (thanks to the many asterisk-users messages) it did get it
installed. I have been unable to receive a legible fax. app_rxfax
provides lots of debugging information but none useful to me. I was hoping
that someone has an idea what might be going on.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Asterisk version: Asterisk CVS-HEAD-08/12/04 ... on
a i686 Linux (RedHat 9 2.4.20-31.9smp)</FONT></DIV>
<DIV><FONT face=Arial size=2>PC is a Tyan with P4 3.06Ghz
hyperthreading</FONT></DIV>
<DIV><FONT face=Arial size=2>The spandsp is a recent download from
8/12/2004</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm testing with a T1-PRI only (no analog cards),
sending a fax from an HO d135 all-in-one and tried a second Brothers "dumb" fax
with the same results.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Everything was compiled today and the non-fax
asterisk is running just fine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here's what appears to be a problem: Fax3Decode2D:
Warning, (FakeInput): Line length mismatch at scanline 0 (got 3198, expected
1728).<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Any help would be nice.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jon</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>Here's the console log for the fax
receive:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> -- Executing Answer("Zap/11-1",
"") in new stack<BR> -- Accepting call from '8131231234' to
'8133214321' on channel 0/11, span 1<BR> -- Executing
SetVar("Zap/11-1", "FAXFILE=/var/spool/asterisk-fax/1092770077.3.tif") in new
stack<BR> -- Executing RxFAX("Zap/11-1",
"/var/spool/asterisk-fax/1092770077.3.tif") in new stack<BR>Changed from phase 0
to 1<BR>Start receiving document<BR>Changed from phase 1 to 4<BR>Sending
ident<BR>>>> CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20<BR>DIS:<BR>Preferred octets: 256<BR>Can receive fax<BR>Supported data
signalling rates: V.27ter and V.29<BR>R8x7.7lines/mm and/or 200x200pels/25.4mm
OK<BR>2D coding OK<BR>Scan line length: 215mm<BR>Recording length: A4
(297mm)<BR>Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 =
T3.85<BR>R8x15.4lines/mm OK<BR>Minimum scan line time for higher resolutions:
T15.4 = T7.7<BR>>>> DIS: 80 00 ce f0 80 80 01<BR>HDLC underflow in
state 9<BR>Changed from phase 4 to 3<BR>Slow carrier up<BR><<< TSI: 43
34 34 32 39 20 38 36 39 20 20 20 20 20 20 20 20 20 20 20 20<BR>TSI without final
frame tag<BR>Remote fax gave TSI as: "123 1234"<BR><<< DCS: 83 00 86 f0
80 80 00<BR>DCS with final frame tag<BR>In state 9<BR>DCS:<BR>Can receive
fax<BR>Selected data signalling rate: V.29, 9600bps<BR>2D coding OK<BR>Scan line
length: 215mm<BR>Recording length: A4 (297mm)<BR>Minimum scan line time:
0ms<BR>Minimum scan line time for higher resolutions: T15.4 = T7.7<BR>Get at
9600<BR>Changed from phase 3 to 5<BR>Fast carrier up<BR>Coarse carrier frequency
1649.53 (6)<BR>Fast carrier down<BR>Fast carrier up<BR>Coarse carrier frequency
1700.08 (66)<BR>Training error 5.417056<BR>Training succeeded (constellation
mismatch 9.565170)<BR>Fast carrier trained<BR>Fast carrier down<BR>Changed from
phase 5 to 4<BR>Start rx document - compression 2<BR>Start rx
page<BR>>>> CFR: 84<BR>HDLC underflow in state 5<BR>Post
trainability<BR>Changed from phase 4 to 5<BR>Fast carrier up<BR>Coarse carrier
frequency 1700.10 (66)<BR>Training error 4.295272<BR>Training succeeded
(constellation mismatch 7.705514)<BR>Fast carrier trained<BR>Fast carrier
down<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 0
(got 3198, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Premature EOL
at scanline 1 (got 0, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput):
Line length mismatch at scanline 4 (got 1729, expected 1728).<BR>Fax3Decode2D:
Warning, (FakeInput): Line length mismatch at scanline 5 (got 2347, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 6
(got 1729, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length
mismatch at scanline 7 (got 1989, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 8 (got 2222, expected
1728).<BR>Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at
scanline 10 (x 4).<BR>Fax3Decode2D: Warning, (FakeInput): Premature EOL at
scanline 10 (got 4, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line
length mismatch at scanline 12 (got 2124, expected 1728).<BR>Fax3Decode2D:
(FakeInput): Bad code word at scanline 13 (x 483).<BR>Fax3Decode2D: Warning,
(FakeInput): Premature EOL at scanline 13 (got 483, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
14 (got 1789, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length
mismatch at scanline 15 (got 2002, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 17 (got 2462, expected
1728).<BR>Fax3Decode2D: (FakeInput): Bad code word at scanline 18 (x
0).<BR>Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 18 (got 0,
expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at
scanline 20 (got 3282, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput):
Line length mismatch at scanline 21 (got 2632, expected 1728).<BR>Fax3Decode2D:
(FakeInput): Bad code word at scanline 23 (x 29).<BR>Fax3Decode2D: Warning,
(FakeInput): Premature EOL at scanline 23 (got 29, expected
1728).<BR>Fax3Decode2D: (FakeInput): Bad code word at scanline 24 (x
29).<BR>Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 24 (got
29, expected 1728).<BR>Fax3Decode2D: (FakeInput): Uncompressed data (not
supported) at scanline 25 (x 27).<BR>Fax3Decode2D: Warning, (FakeInput):
Premature EOL at scanline 25 (got 27, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 26 (got 1729, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
28 (got 1859, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Premature
EOL at scanline 29 (got 49, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 34 (got 1796, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
35 (got 1749, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length
mismatch at scanline 36 (got 2196, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 37 (got 1729, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
39 (got 3113, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length
mismatch at scanline 40 (got 3194, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 42 (got 2725, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
44 (got 2230, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length
mismatch at scanline 45 (got 1729, expected 1728).<BR>Fax3Decode2D: Warning,
(FakeInput): Line length mismatch at scanline 47 (got 2815, expected
1728).<BR>Fax3Decode2D: (FakeInput): Bad code word at scanline 48 (x
705).<BR>Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 48 (got
705, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput): Line length mismatch
at scanline 50 (got 1999, expected 1728).<BR>Fax3Decode2D: Warning, (FakeInput):
Line length mismatch at scanline 54 (got 1869, expected 1728).<BR>Fax3Decode2D:
Warning, (FakeInput): Line length mismatch at scanline 56 (got 2184, expected
1728).<BR>Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 57 (got
0, expected 1728).<BR>Page 1 of /var/spool/asterisk-fax/1092770077.3.tif:<BR>58
rows received<BR>0 total bad rows<BR>0 max consecutive bad rows<BR>Changed from
phase 5 to 3<BR>Slow carrier up<BR><<< EOP: 2f<BR>EOP with final frame
tag<BR>In state 5<BR>Changed from phase 3 to 4<BR>>>> MCF: 8c<BR>HDLC
underflow in state 8<BR>Changed from phase 4 to 3<BR>Slow carrier
up<BR><<< DCN: fb<BR>DCN with final frame tag<BR>In state
8<BR>Disconnecting<BR>Changed from phase 3 to 7<BR>Changed from phase 7 to
8<BR> -- Channel 0/11, span 1 got hangup<BR>
-- Hungup 'Zap/11-1'<BR>Aug 17 15:18:45 NOTICE[1106410288]: chan_zap.c:7050
pri_dchannel: PRI got event: 6 on Primary D-channel of<BR>span 1<BR>Aug 17
15:18:45 NOTICE[1106410288]: chan_zap.c:7050 pri_dchannel: PRI got event: 6 on
Primary D-channel of<BR>span 1<BR>Aug 17 15:18:45 NOTICE[1106410288]:
chan_zap.c:7050 pri_dchannel: PRI got event: 6 on Primary D-channel of<BR>span
1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>