[Asterisk-Users] fax with asterisk

Venu V vvenu at transdyne.co.in
Sat Feb 12 02:33:32 MST 2005


>From couple of weeks i am working on asterisk fax but was not
successful.
I am able to receive only half fax documents and its ending with blurred
lines.
I have tried with almost all the versions of spandsp 0.0.2pre4,pre10
etc but of      no use.

I have digium card to which i have plugged in 2 pstn lines and i have
removed echocancellation too(zapata.conf) and also enabled g7111
alaw&Ulaw codecs. When ever i receive a fax it will come upto some
extension(half) and ends.I even checked the pstn lines but its working
fine.
Please look into it and help me to get rid off.

BELOW ARE THE LOGS I HAVE GOT :

= Spawn extension (zapincoming, fax, 0) exited non-zero on 'Zap/2-1'
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
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
<<< TSI: 43 35 32 30 39 35 33 33 32 20 20 20 20 20 20 20 20 20 20 20 20
TSI without final frame tag
Remote fax gave TSI as: XXXXXX

DCS: 83 00 c6 f0 80 80 00
DCS with final frame tag
In state 9
DCS:
Can receive fax
Selected data signalling rate: V.29, 9600bps
R8x7.7lines/mm and/or 200x200pels/25.4mm OK
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
Training failed (sequence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.76 (66)
Training error 15.399144
Training succeeded (constellation mismatch 10.791423)
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
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.81 (66)
Training error 3.356434
Training succeeded (constellation mismatch 2.404210)
Fast carrier trained
Feb 11 19:27:21 NOTICE[20570]: chan_sip.c:7531 handle_request:
Fast carrier down
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
955 (got 1906, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
962 (got 2596, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
963 (got 1731, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
965 (got 2176, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
967 (got 1730, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
969 (got 2657, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 971 (got
1723, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 972 (got
1723, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
973 (got 1729, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at
scanline 974 (x 1340).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 974 (got
1340, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
975 (got 1741, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
976 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
979 (got 1795, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
980 (got 1795, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
981 (got 2032, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
982 (got 2699, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at
scanline 983 (x 262).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 983 (got
262, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
984 (got 2026, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
986 (got 1731, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
987 (got 1730, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
988 (got 2344, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
989 (got 3886, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
990 (got 2310, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 992 (x 69).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 992 (got
69, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
993 (got 2061, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
994 (got 2068, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
995 (got 3012, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
996 (got 2191, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
997 (got 2187, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
998 (got 2042, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 999 (x 0).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 999 (got
0, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1000 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1002 (got 2059, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1003 (got 2083, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 1004 (x 199).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1004
(got 199, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 1005 (x 13).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1005
(got 13, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1006 (got 1787, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1007 (got 1729, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at
scanline 1008 (x 1651).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1008
(got 1651, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1009 (got 2093, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1010 (got 1731, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1011 (got 2427, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at
scanline 1012 (x 1215).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1012
(got 1215, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1013 (got 3045, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1014 (got 1808, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1015 (got 2088, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1016 (got 2993, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1018 (got 1950, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1019 (got 1859, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1021 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1022 (got 1920, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1023 (got 2132, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1024 (got 1731, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 1025 (x 0).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1025
(got 0, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1026 (got 2348, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1027 (got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1028 (got 2036, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline
1029 (got 1730, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 1030 (x 328).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1030
(got 328, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1031
(got 0, expected 1728).
Page 1 of /home/fax/1108130213.8.tif:
1032 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
Slow carrier down
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
 == Spawn extension (zapincoming, s, 2) exited non-zero on 'Zap/2-1'
 == Spawn extension (zapincoming, h, 1) exited non-zero on 'Zap/2-1'

 

 

Thanks & Regards

Venu.V

___________________________________________________

TransDyne IT Services,

*vvenu at transdyne.co.in <mailto:vvenu at transdyne.co.in> 

* +91-40-23355666(Off) +91-9440626790(Mob)

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050212/964b5b8c/attachment.htm


More information about the asterisk-users mailing list