[Asterisk-Users] Blank faxes with RxFAX

Patrick J. Conroy conroyp at contexttech.com
Mon Jun 28 19:36:21 MST 2004


Hello All,

I have finally pulled CVS HEAD and built it with app_rxfax and app_txfax to
try to solve the problem that I was having with blank faxes.  Fortunately, I
am finally getting logs from rxfax.  Unfortunately, I am still not receiving
faxes correctly.  Here is the log that was produced.  If anyone has any
thoughts on what might going, I would greatly appreciate it.

Thanks,
Patrick


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
<<< TSI: 43 2c 73 65 67 6f 6c 6f 6e 68 63 65 54 20 74 78 65 74 6e 6f 43
TSI without final frame tag
Remote fax gave TSI as: "Context Technologes,"
<<< DCS: 83 00 c6 70
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
Get at 9600
Changed from phase 3 to 5
Slow carrier down
Fast carrier up
Coarse carrier frequency 1700.00 (66)
Training error 6.440041
Training succeeded (constellation mismatch 8.504586)
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.22 (66)
Training error 8.812362
Training succeeded (constellation mismatch 14.974447)
Fast carrier trained
Fast carrier down
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 172
(got 1910, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 174
(got 1739, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 175
(got 1736, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 176
(got 1811, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 177
(got 1989, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 179 (got 88,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 180
(got 3553, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 182
(got 2621, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 183
(got 1853, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 185
(got 1729, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 186 (x 1280).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 186 (got 1280,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 187
(got 1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 190
(got 1729, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 193 (x 0).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 193 (got 0,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 195
(got 3658, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 196
(got 1764, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 198
(got 2128, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 199
(got 1761, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 200
(got 1934, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 201
(got 1729, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 203 (x 1211).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 203 (got 1211,
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 204 (x 246).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 204 (got 246,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 206
(got 2513, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 207
(got 3277, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 208
(x 247).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 208 (got 247,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 210
(got 1846, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 211
(got 2131, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 213
(got 1730, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 214 (x 172).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 214 (got 172,
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 216 (x 8).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 216 (got 8,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 217
(got 2147, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 219
(got 2818, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 220
(got 1752, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 221 (x 1663).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 221 (got 1663,
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 225 (got 0,
expected 1728).
Page 1 of /var/spool/asterisk-fax/fax-3488-20040628-223319.tif:
226 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

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Steve
Underwood
Sent: Thursday, June 17, 2004 12:23 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Blank faxes with RxFAX


Hi Patrick,

I can't tell much from this brief description. Send me a console log.

Regards,
Steve


Patrick J. Conroy wrote:

>Hello All,
>
>I have downloaded and installed spandsp and downloaded rxfax, etc and
>rebuilt asterisk with app_rxfax.  I have added the following to my
>extensions.conf:
>
>[macro-faxreceive]
>; ${ARG1} - sendto e-mail
>exten => s,1,Wait(2)
>exten => s,2,Answer
>exten =>
>s,3,SetVar(FAXFILE=/var/spool/asterisk-fax/fax-${MACRO_EXTEN}-${TIMESTAMP})
>exten => s,4,SetVar(EMAILADDR=${ARG1})
>exten => s,5,rxfax(${FAXFILE}.tif)
>exten => s,6,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
>"${CALLERIDNUM} ${CALLERIDNAME}")
>
>And everything looks like it is running fine, meaning that I don't seem to
>get any errors.
>
>However, all the faxes seem to be blank.  The only references to anything
>like this that I could find previously on the list were in regards to
8-byte
>tif files.  This doesn't seem to be the same issue, since the files are
much
>larger (~8k).  I am trying to receive the faxes over a PRI running into a
>TE405P.  Any suggestions?  Is anyone using RxFAX successfully in a
>configuration like this?  If so, what are you doing differently?  Any help
>would be appreciated.
>
>Thanks,
>Patrick
>
>
>
>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the asterisk-users mailing list