Discussion:
Incomplete faxes being received - SOLVED
(too old to reply)
Cyril Spiro
2008-08-14 00:15:17 UTC
Permalink
Turns out that the problem was because we were not using the
fax_notify_program. Our own script was picking up the incoming faxes
mid-page and converting them too early. Our bad. All is well with mgetty
:-)



spiroc



-----Original Message-----
From: spiroc
Sent: Wednesday, August 06, 2008 1:56 PM
To: '***@muc.de'
Subject: Incomplete faxes being received



Thanks in advance for help with this issue.



We have several sites running on mgetty. Although each site experiences an
occasional incomplete fax, one site in particular gets many more than the
others. Because these faxes are critical to operations this is becoming a
very big problem and any assistance is welcome.



After investigating an example at this site, the logs indicate that the fax
is received completely (29810 bytes) but the g3 file that is created is
incomplete - see the attached file at 4096 bytes. Also attached is a PDF to
view what is on the g3 file.



This pattern of the log showing complete receipt of the fax but the g3 file
being incomplete is the same with all these incomplete faxes.



Has anyone else experience this problem and were you able to resolve it?
Thanks!



Here is a snip from the mgetty log:

08/05 11:10:29 yS0 fax_send: 'AT+FDR'

08/05 11:10:29 yS0 fax_wait_for(CONNECT)** found **

08/06 10:29:38 yS0 wfr: waiting for ``RING''

08/06 10:29:38 yS0 send: ATA[0d]

08/06 10:29:38 yS0 waiting for ``CONNECT''

08/06 10:29:51 yS0 found action string: ``+FCO_''

08/06 10:29:51 yS0 start fax receiver...

08/06 10:29:51 yS0 fax_wait_for(OK)

08/06 10:29:51 yS0 fax_id: '+FTI:" 4107580011"'

08/06 10:29:52 yS0 transmission par.: '+FCS:0,5,0,2,0,0,0,1'** found **

08/06 10:29:52 yS0 mdm_send: 'AT+FLO=2' -> OK

08/06 10:29:52 yS0 fax_send: 'AT+FDR'

08/06 10:29:52 yS0 fax_wait_for(CONNECT)** found **

08/06 10:29:59 yS0 fax_get_page_data: receiving
/home/aapssdoc/public_html/pdfs/fax/fn899b552S0-4107580011.01...

08/06 10:30:16 yS0 fax_get_page_data: page end, bytes received: 29810

08/06 10:30:16 yS0 fax_wait_for(OK)

08/06 10:30:16 yS0 page status: +FPS:1,1092,0,0,0** found **

08/06 10:30:18 yS0 fax_send: 'AT+FDR'

08/06 10:30:18 yS0 fax_wait_for(CONNECT)

08/06 10:30:20 yS0 connection hangup: '+FHS:0'** found **

08/06 10:30:21 yS0 fax_notify_mail: mailer exit status: 17152 (67)

08/06 10:30:21 ##### fax dev=ttyS0, pid=31485, caller='none', name='',
id='4107580011', +FHNG=000, pages=1/0, time=00:00:42

08/06 10:30:21 yS0 system() failed: No such file or directory

08/06 10:30:22 yS0 mdm_send: 'ATH0' -> OK

08/06 10:30:22 yS0 mgetty: experimental test release 1.1.31-Jul24

08/06 10:30:22 yS0 check for lockfiles

08/06 10:30:22 yS0 locking the line

08/06 10:30:23 yS0 lowering DTR to reset Modem

08/06 10:30:23 yS0 clean_line: only 500 of 2046 bytes logged

08/06 10:30:23 yS0 send: \dATQ0V1H0[0d]

08/06 10:30:24 yS0 waiting for ``OK'' ** found **

08/06 10:30:24 yS0 send: ATS0=0Q0&D3&C1[0d]

08/06 10:30:24 yS0 waiting for ``OK'' ** found **

08/06 10:30:24 yS0 mdm_send: 'ATI'

08/06 10:30:24 yS0 non-numeric ID string: 'LT V.92 1.0 MT5634ZBA-V92 Serial
Data/Fax Modem Version 3.32d'

08/06 10:30:24 yS0 Multitech MT5634ZBA-V92 detected

08/06 10:30:24 yS0 modem quirks: 0080

08/06 10:30:24 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK

08/06 10:30:24 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK

08/06 10:30:24 yS0 mdm_send: 'AT+FBO=1' -> OK

08/06 10:30:24 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK

08/06 10:30:24 yS0 mdm_send: 'AT+FLI="4102669919"' -> OK

08/06 10:30:25 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK

08/06 10:30:25 yS0 waiting...
Gert Doering
2008-08-14 06:33:25 UTC
Permalink
Hi,
Post by Cyril Spiro
Turns out that the problem was because we were not using the
fax_notify_program. Our own script was picking up the incoming faxes
mid-page and converting them too early. Our bad. All is well with mgetty
:-)
Glad to hear that. (And I'm sorry that I never responded, but I was just
too busy with other stuff - my guess would have been "flaky hardware on
that machine", but that was quite off, obviously).

Indeed, you should rely on fax_notify_program, because this is the only
way you'll be sure that the reception is really complete.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...