Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Doneq and Killed Faxes
I've got a local only email - fax gateway. Works wonderfully, so no
problem there.
I am working on a perl script to handle all the faxes that can't be sent
for whatever reason, and print them to a laser printer for snail mail
delivery. This script works well for "normal" errors (no answer, phase
B errors, etc).
But it does not work for faxes that are killed at the killtime. They
are not moved to the doneq directory, as far as I can tell.
I emulate the faxqclean program (As best I can) to accomplish what I want. I
search the doneq directory for a "status" line that is non-empty. Any that
have a string get printed. That, again, works just fine.
But is there anyway to know what faxes have been killed? I get the error
messages by email (example below), but I want to automate this printing as well.
I appreciate the hints/help!
Patrick
Your facsimile job to xxx-xxx-xxxx could not be completed before the appointed
deadline.
---- Unsent job status ----
Destination: xxx-xxx-xxxx
JobID: 25465
GroupID: 25465
Sender: patrick
Mailaddr: patrick@cre8tivegroup.com
Submitted From: localhost
Page Width: 215 (mm)
Page Length: 279 (mm)
Resolution: 98 (lpi)
Status: (nothing available)
Dialogs: 0 (exchanges with remote device)
Dials: 0 (consecutive failed calls to destination)
Calls: 0 (total phone calls placed)
Pages: 0 (pages transmitted)
TotPages: 0 (total pages to transmit)
Attempts: 0 (attempts to send current page)
Dirnum: 0 (directory of next page to send)
---- Documents submitted for transmission ----
The following documents were submitted for transmission and are
available on the server for reuse until they are automatically
purged when this job is removed. Documents may also be manually
removed using the faxrm command; consult faxrm(1) for information.
Filename Size Type
docq/doc25443.ps.25465 8556 PostScript