[Asterisk-Users] rxfax crashing asterisk and YES I'm using an approved libtiff :-)

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Fri Jun 4 09:28:10 MST 2004


On Friday 04 June 2004 12:16, Andrew Kohlsmith wrote:
> Now one thing I see at the bottom of the output of rxfax below is that
> compression is there -- I did *not* install the lzw stuff on the libtiff
> webpage.  I'm going to try that next.

And after enabling lzw in libtiff it doesn't crash anymore, although it 
doesn't work yet, either.  :-)

Regards,
Andrew

Asterisk Ready.
    -- Starting simple switch on 'Zap/19-1'
Jun  4 12:25:24 NOTICE[213006]: chan_zap.c:4773 ss_thread: Got event 2 
(Ring/Answered)...
    -- Executing Answer("Zap/19-1", "") in new stack
    -- Executing Wait("Zap/19-1", "5") in new stack
    -- Redirecting Zap/19-1 to fax extension
  == Spawn extension (fxo, fax, 0) exited non-zero on 'Zap/19-1'
    -- Executing RxFAX("Zap/19-1", "/tmp/faxfile.tiff") in new stack
Changed from phase 0 to 1
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
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
Slow carrier down
Slow carrier up
<<< DCS: 83 00 86 90 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: 5ms
Get at 9600
Changed from phase 3 to 5
Fast carrier up
Coarse carrier frequency 1699.98 (50)
Training error 71.068958
Training failed (constellation mismatch 53.257488)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1700.01 (52)
Training error 37.021058
Training succeeded (constellation mismatch 39.232594)
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 1714.99 (46)
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.98 (50)
Training error 50.191974
Training succeeded (constellation mismatch 34.503801)
Fast carrier trained
Fast carrier down
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 0 (got 0, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 2 (x 1727).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 2 (got 1727, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 3 (x 158).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 3 (got 158, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 4 (x 82).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 4 (got 82, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 5 (x 48).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 5 (got 48, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 7 (x 0).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 7 (got 0, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 8 (got 
2196, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 9 (got 
3595, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 10 (got 
2617, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 11 (got 0, 
expected 1728).
Page 1 of /tmp/faxfile.tiff:
12 rows received
0 total bad rows
0 max consecutive bad rows
Changed from phase 5 to 3
Slow carrier up
<<< DCN: fb
DCN with final frame tag
In state 5
Disconnecting
Changed from phase 3 to 7
Changed from phase 7 to 8
    -- Executing Hangup("Zap/19-1", "") in new stack
  == Spawn extension (fxo, fax, 2) exited non-zero on 'Zap/19-1'
    -- Executing Hangup("Zap/19-1", "") in new stack
  == Spawn extension (fxo, h, 1) exited non-zero on 'Zap/19-1'
    -- Hungup 'Zap/19-1'
*CLI>



More information about the asterisk-users mailing list