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] Job Killed



On 5/30/06, Jonathan Smithe <gigelusster@xxxxxxxxx> wrote:
Hi everyone,

I have a problem with maxdials.

I connect to hylafax using a custom-made (PHP) script. The script
sends the following (among others):
-snip-
ftp_raw($conn,"JPARM MAXDIALS 20"); //Maximum number of tries to this
destination
ftp_raw($conn,"JPARM MAXTRIES 10"); //Maximum number of tries to send one page
ftp_raw($conn,"JPARM SENDTIME NOW");
ftp_raw($conn,"JPARM KILLTIME 002359");
ftp_raw($conn,"JPARM LASTTIME 010000");
-snip-

I have to set these pretty high because the carrier I use is too unstable.

In the q-file i can see the results:
-snip-
maxdials:20
maxtries:10
-snip-

The problem is that, after 12 dials (tested on a bogus number,
+49111111111 so that I always get a busy tone), I can see the
following:

-snip-
ntries:0
ndials:12
totdials:12
maxdials:20
tottries:0
maxtries:10
status:REJECT: Too many attempts to dial: 12, max 12
-snip-

I have also set in  hfaxd.conf:
-snip-
RetryTimeMap: "30 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60"
KillTimeMap: "720 720 720 720 720 720 720 1440 1440 1440 1440 1440
1440 1440 1440 1440 1440 1440 1440 1440"
MaxTries: 20
MaxDials: 20
-snip-

I have searched in FaxSend.c++ and I see there:
-snip-
       if (fax.totdials == fax.maxdials) {
            notice = fax.notice | "; too many attempts to dial";
            sendFailed(fax, send_failed, notice);
        } else {
-snip-

Is there somewhere else in Hylafax, hard-coded, where the maxdials is
again defined? Or is this some other setting that I've forgot about?

I'm using hand-built HylaFax 2.4.5 on a Gentoo machine with a 2.6.14 kernel.

Sorry, I ment hylafax 4.2.5


____________________ 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