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] FaxAccounting - How to check for successful jobs



> In the FaxAccounting script the 14th parameter will be empty when the 2nd
> parameter is "SEND".  If you refer to this FaxAccounting script here:
>
> http://hylafax.sourceforge.net/howto/misc/FaxAccounting
>
> So ...
>
> if [ "$ENTRYTYPE" -eq "SEND" ] && [ -z "$REASON" ]; then
>  # This is a FaxAccounting call for a successfully sent fax.
> fi
>
Thanks, I think this is what I needed.

> FaxAccounting really has no direct knowlege of job failure.  It knows if a
> call succeeds or fails, but it doesn't know if the whole job fails due to
> number of dials/tries, etc.
Will keep this in mind. I think the above one and entrytype UNSENT
will serve our purpose.

> Yes, you could parse the sendq/doneq file for more accurate information,
> however, there are configurations that could make reading of the sendq/doneq
> file inaccurate as well.
>
> I think that you could use AuditHook for auditing actual queue behavior, if
> that's what you're after.
I just need information if a job was successful or failed. We are
using a fairly short kill time. Till now havent faced any issue with
failed ones. but for successful ones, had problems with half sent
attempts. But the above solution should do the job. Have seen that the
attempt with final pages will have blank REASON entry.

Thanks again for the detailed reply.

Deepak


____________________ 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@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions