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] Retry failed job?



Well, I had a hard time with this one myself, but it was for pages. Maybe the following will help you.

 

When I send a page using the sendpage command, if I do not specify the service level, it is defaulted to level 0. Now, at level 0, the default kill time for the job is pretty fast, something like 5 minutes. So if hylafax tries to send the page, and say, gets a busy line, or no answer, it would normally attempt to resend it later, in a couple of minutes. The problem is that the server kills the job when it is past its kill time.

 

If this is what happens to your fax jobs, take a look at the file hfaxd.conf. You will find at the bottom of the file :

 

# The following three items define the mapping from

# SNPP service level to job scheduling priority and

# expiration (kill) time.  Each item should have a

# list of 12 values that define the mapping for service

# levels 0 through 11 (first item is level 0, second

# item level 1, ... etc.).

#

#PriorityMap:           "63 127 127 127 127 127 127  127  127  127  127  127"

#RetryTimeMap:          "30  60  60 180   0   0   0    0    0    0    0    0"

#KillTimeMap:           " 5   5   5  15  60 240 720 1440 1440 1440 1440 1440"

 

I had to change it to this :

 

#PriorityMap:           "63 127 127 127 127 127 127  127  127  127  127  127"

#RetryTimeMap:          "30  60  60 180   0   0   0    0    0    0    0    0"

KillTimeMap:            "60  60  60  15  60 240 720 1440 1440 1440 1440 1440"

 

So the default kill time for level 0 is 60 minutes instead of 5.

 

Hope this helps

 

Ludovic

 

 


From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Robert Bauer
Sent: February 7, 2006 2:25 PM
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] Retry failed job?

 

Is there some magic I can do to make Hylafax retry a failed job?  I searched the archives, and this question has been asked before, but not really solved (that I could tell).  Some suggested using faxalter, but that only seems to be appropriate for active / queued jobs, not jobs that the server has given up trying to send.  I tried moving the q# file from doneq to sendq, and using faxalter, but still no luck.

Thanks,

Robert Bauer




Project hosted by iFAX Solutions