Errors with sendfax in 'normal' mode only?
Gert Doering (gert@greenie.muc.de)
Wed, 23 Sep 1998 21:46:32 +0200
Hi,
On Tue, Sep 22, 1998 at 10:51:36PM +0200, Steeve wrote:
> The fine mode fax works EVERY time. The normal mode fax
> fails EVERY time. The output from the log file near the
> failure is,
Interesting pattern, but from the logs, it's just (Yet Another) USR
Sportster firmware bug.
> 09/22 16:25:26 yS3 sendfax: honouring DCD (carrier) drops now
> 09/22 16:25:26 yS3 fax_send_page("fn1.g3") started...
> 09/22 16:25:26 yS3 tio_set_flow_control( HARD )
> 09/22 16:25:26 yS3 fax_send: 'AT+FDT'
> 09/22 16:25:26 yS3 fax_wait_for(CONNECT)
Basic handshake is estabilished just fine.
"I want to start a page now"
> 09/22 16:25:26 yS3 fax_wait_for: string 'AT+FDT'
> 09/22 16:25:26 yS3 fax_wait_for: string '+FCS:0,3,0,2,0,0,0,0'
> 09/22 16:25:26 yS3 transmission par.: '+FCS:0,3,0,2,0,0,0,0'
Hmmm, let's try "normal, 9600 bps, 0 delay".
> 09/22 16:25:32 yS3 fax_wait_for: string '+FCS:0,3,0,2,0,0,0,0'
> 09/22 16:25:32 yS3 transmission par.: '+FCS:0,3,0,2,0,0,0,0'
The other end didn't like it. (I would have to see the beginning of the
log file to see the reason, I assume the "0 delay" part is wrong).
> 09/22 16:25:39 yS3 fax_wait_for: string '+FCS:0,3,0,2,0,0,0,0'
> 09/22 16:25:39 yS3 transmission par.: '+FCS:0,3,0,2,0,0,0,0'
The other end still doesn't like it, so we try a third time.
> 09/22 16:25:47 yS3 fax_wait_for: string '+FHS:25'
... which fails as well. This is something the USRs are bad at, if one
attempt to start a pre-page handshake fail, it will retry with the same
parameters, and (most likely) fail again - until it gives up.
> 09/22 16:25:47 yS3 connection hangup: '+FHS:25'
> 09/22 16:25:47 yS3 (DCS sent three times without response)** found **
... with exactly this error message.
> The complete logs for the fine and normal send are included below.
Ah. Let's see:
> 09/22 16:25:26 yS3 fax_wait_for: string '+FIS:1,3,0,2,1,0,0,2'
Here, the other end signals "I can do fine, 9600 bps, but I'm slow (,2)".
> 09/22 16:25:26 yS3 fax_wait_for: string '+FCS:0,3,0,2,0,0,0,0'
The USR says "we'll do normal, 9600, and quickly". This HAS to fail.
> Any help would be appreciated! I am using mgetty+sendfax 1.1.18
Actually, there is nothing mgetty can do. It's a pure modem firmware
issue - the modem is constructing the wrong response from its input
data. Maybe a firmware upgrade helps, otherwise we should report this
to USR -- so please get the very latest firmware version, and if it
still fails, please post the output of "mgetty/tools/mid ttyS3" and
the complete log file to this list. RJ or I can forward it to the
engineers...
gert
--
Gert Doering
Mobile communications ... right now writing from *AWAY* :-))
... mobile phone: +49 177 2160221 ... or mail me: gert@greenie.muc.de