[Asterisk-Users] SpanDSP RxFax receives junk - gets Fax3Decode2d: Warning, (FakeInput): .... messages
Jon Bebeau
jbebeau at 1nettw.net
Tue Aug 17 12:50:02 MST 2004
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.
Asterisk version: Asterisk CVS-HEAD-08/12/04 ... on a i686 Linux (RedHat 9 2.4.20-31.9smp)
PC is a Tyan with P4 3.06Ghz hyperthreading
The spandsp is a recent download from 8/12/2004
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.
Everything was compiled today and the non-fax asterisk is running just fine.
Here's what appears to be a problem: Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 0 (got 3198, expected 1728).
Any help would be nice.
Jon
Here's the console log for the fax receive:
-- Executing Answer("Zap/11-1", "") in new stack
-- Accepting call from '8131231234' to '8133214321' on channel 0/11, span 1
-- Executing SetVar("Zap/11-1", "FAXFILE=/var/spool/asterisk-fax/1092770077.3.tif") in new stack
-- Executing RxFAX("Zap/11-1", "/var/spool/asterisk-fax/1092770077.3.tif") in new stack
Changed from phase 0 to 1
Start receiving document
Changed from phase 1 to 4
Sending ident
>>> CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
DIS:
Preferred octets: 256
Can receive fax
Supported data signalling rates: V.27ter and V.29
R8x7.7lines/mm and/or 200x200pels/25.4mm OK
2D coding OK
Scan line length: 215mm
Recording length: A4 (297mm)
Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85
R8x15.4lines/mm OK
Minimum scan line time for higher resolutions: T15.4 = T7.7
>>> DIS: 80 00 ce f0 80 80 01
HDLC underflow in state 9
Changed from phase 4 to 3
Slow carrier up
<<< TSI: 43 34 34 32 39 20 38 36 39 20 20 20 20 20 20 20 20 20 20 20 20
TSI without final frame tag
Remote fax gave TSI as: "123 1234"
<<< DCS: 83 00 86 f0 80 80 00
DCS with final frame tag
In state 9
DCS:
Can receive fax
Selected data signalling rate: V.29, 9600bps
2D coding OK
Scan line length: 215mm
Recording length: A4 (297mm)
Minimum scan line time: 0ms
Minimum scan line time for higher resolutions: T15.4 = T7.7
Get at 9600
Changed from phase 3 to 5
Fast carrier up
Coarse carrier frequency 1649.53 (6)
Fast carrier down
Fast carrier up
Coarse carrier frequency 1700.08 (66)
Training error 5.417056
Training succeeded (constellation mismatch 9.565170)
Fast carrier trained
Fast carrier down
Changed from phase 5 to 4
Start rx document - compression 2
Start rx page
>>> CFR: 84
HDLC underflow in state 5
Post trainability
Changed from phase 4 to 5
Fast carrier up
Coarse carrier frequency 1700.10 (66)
Training error 4.295272
Training succeeded (constellation mismatch 7.705514)
Fast carrier trained
Fast carrier down
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 0 (got 3198, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1 (got 0, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 4 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 5 (got 2347, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 6 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 7 (got 1989, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 8 (got 2222, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 10 (x 4).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 10 (got 4, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 12 (got 2124, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 13 (x 483).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 13 (got 483, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 14 (got 1789, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 15 (got 2002, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 17 (got 2462, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 18 (x 0).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 18 (got 0, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 20 (got 3282, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 21 (got 2632, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 23 (x 29).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 23 (got 29, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 24 (x 29).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 24 (got 29, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 25 (x 27).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 25 (got 27, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 26 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 28 (got 1859, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 29 (got 49, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 34 (got 1796, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 35 (got 1749, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 36 (got 2196, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 37 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 39 (got 3113, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 40 (got 3194, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 42 (got 2725, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 44 (got 2230, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 45 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 47 (got 2815, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 48 (x 705).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 48 (got 705, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 50 (got 1999, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 54 (got 1869, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 56 (got 2184, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 57 (got 0, expected 1728).
Page 1 of /var/spool/asterisk-fax/1092770077.3.tif:
58 rows received
0 total bad rows
0 max consecutive bad rows
Changed from phase 5 to 3
Slow carrier up
<<< EOP: 2f
EOP with final frame tag
In state 5
Changed from phase 3 to 4
>>> MCF: 8c
HDLC underflow in state 8
Changed from phase 4 to 3
Slow carrier up
<<< DCN: fb
DCN with final frame tag
In state 8
Disconnecting
Changed from phase 3 to 7
Changed from phase 7 to 8
-- Channel 0/11, span 1 got hangup
-- Hungup 'Zap/11-1'
Aug 17 15:18:45 NOTICE[1106410288]: chan_zap.c:7050 pri_dchannel: PRI got event: 6 on Primary D-channel of
span 1
Aug 17 15:18:45 NOTICE[1106410288]: chan_zap.c:7050 pri_dchannel: PRI got event: 6 on Primary D-channel of
span 1
Aug 17 15:18:45 NOTICE[1106410288]: chan_zap.c:7050 pri_dchannel: PRI got event: 6 on Primary D-channel of
span 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040817/9450a7c3/attachment.htm
More information about the asterisk-users
mailing list