[Asterisk-Users] Asterisk rxfax(): One page gets two pages
Jan Baumann
asterisk at cyberways.net
Sun Jun 20 05:33:04 MST 2004
Hi,
so far I had our PRI line connected via Digium TE410P and ZAP channel to
asterisk which worked perfectly. I now have a second line coming in through a
H.323 gateway and chan_oh323.
rxfax() still works and receives faxes with G.711 alaw codec, but I
always get one empty first page via H.323 - a one-page-fax becomes a
two-page-fax with one empty page in front of it.
It seems the empty page is only one scanline long.
I am using asterisk CVS head of 2004-06-01 and
spandsp-0.0.1k.
A logfile from the console is attached below.
May I kindly ask you to have a quick look at it?
Many thanks,
Jan
Changed from phase 0 to 1
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
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
<<< TSI: 43 33 30 31 33 39 37 20 31 32 38 20 39 34 2b 20 20 20 20 20 20
TSI without final frame tag
Remote fax gave TSI as: "+49 821 793103"
<<< DCS: 83 00 86 10
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
Fast carrier down
Fast carrier up
Coarse carrier frequency 1700.05 (66)
Training error 2.676352
Training succeeded (constellation mismatch 4.690531)
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
Training failed (sequence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1700.02 (70)
Training error 3.675856
Training succeeded (constellation mismatch 5.689911)
Fast carrier trained
Fast carrier down
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 0 (got 1590,
expected 1728).
Page 1 of
/usr/local/asterisk/var/spool/fax/0821793103-0702456097777-1086347692.4.tif:
1 rows received
0 total bad rows
0 max consecutive bad rows
Changed from phase 5 to 3
Slow carrier up
<<< TSI: 43 33 30 31 33 39 37 20 31 32 38 20 39 34 2b 20 20 20 20 20 20
TSI without final frame tag
Remote fax gave TSI as: "+49 821 793103"
<<< DCS: 83 00 86 10
DCS with final frame tag
In state 5
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 1656.38 (6)
Fast carrier down
Fast carrier up
Coarse carrier frequency 1700.16 (70)
Training error 4.311988
Training succeeded (constellation mismatch 5.752445)
Fast carrier trained
Fast carrier down
Changed from phase 5 to 4
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.05 (66)
Training error 14.160908
Training succeeded (constellation mismatch 10.055431)
Fast carrier trained
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1120 (got 0,
expected 1728).
Page 2 of
/usr/local/asterisk/var/spool/fax/0821793103-0702456097777-1086347692.4.tif:
1121 rows received
0 total bad rows
0 max consecutive bad rows
Rx page end detected
Changed from phase 5 to 3
Slow carrier up
Slow carrier down
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
More information about the asterisk-users
mailing list