HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Received queue and jobs...
Hi,
In my client
application (in Java, based on gnu.hylafax), I have 2 cron tasks that looks into
the queues.
Application 1 -
1. list sendq and
doneq.
Each line are like
this one : "66 127 F
root 0471053877 0:0 0:12 Blocked by concurrent job"
2. For each line, HylafaxClient.getJob(66 [the first
number of the line])
3. get properties, status, error
message...
4. update a log for users, mail to sender if error, and
a lot of things for my application.
Everything works OK and I'm so happy
;-)
Application 2 - what I want to do
:
1. look at the recvq
list
2. For each
line
getJob(...)
3. get properties, depending on fax sender number do
something or something else...
4. get the tiff image, and store it on another
server
5. write a log for
users...
But the problem is when I list recvq, I get something
like "-rw---- 1
14 04 71 09 55 49
16:52 fax000000005.tif" :(
I can't get job id, I don't find any way to get the job
id. Job id is important for me because with this I can get send fax number, and
other infos more detailed than this
line.
Please, help
me!
Sylvain
MACHEFERT