HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] just 1 failure and never retried
On 2003.08.27 10:38 Giulio Orsero wrote:
> Aug 26 18:34:46.18: [28985]: SEND send EOP (no more pages or
> documents)
> Aug 26 18:34:46.18: [28985]: <-- data [2]
> Aug 26 18:34:52.32: [28985]: --> [7:+FHS:51]
> Aug 26 18:34:52.32: [28985]: REMOTE HANGUP: RSPREC error/got DCN (code
> 51)
> Aug 26 18:34:52.32: [28985]: <-- [5:ATH0\r]
> Aug 26 18:34:52.32: [28985]: --> [2:OK]
> Aug 26 18:34:52.33: [28985]: sched policy=0, priority=0
> Aug 26 18:34:52.33: [28985]: SESSION END
>
> Ideas on why jobs are marked F and not retried?
I think the relevant portion of code from Class2Send.c++ is:
} while (transferOK && morePages && !hadHangup);
if (!transferOK) {
if (emsg == "") {
if (hangupCode[0])
emsg = hangupCause(hangupCode);
else
emsg = "Communication failure during Phase B/C";
}
sendAbort(); // terminate session
} else if (hadHangup && morePages) {
/*
* Modem hung up before the transfer completed (e.g. PPI
* modems which get confused when they receive RTN and return
* +FHNG:0). Setup an error return so that the job will
* be retried.
*/
transferOK = false;
emsg = "Communication failure during Phase B/C (modem protocol
botch)";
} return (transferOK ? send_ok : send_retry);
failed:
sendAbort();
return (send_failed);
}
Assuming your emsg (should have shown up in the notification message)
was "RSPREC error/got DCN" I think we can say that for certainty that
the code never reached the "failed:" marker. In which case I would say
that it seems that it did "return (send_retry)", in which case there
was either a problem with faxq, the sendq file, or the job was
submitted with maxdial or maxtries set to 1.
You can look through the code to see all of the "goto failed" points.
I don't think you ran into any of them.
I would double-check the q file in sendq just after submission.
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*