Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reducing no of tries..



David Batterham wrote:
    
    
    Thanks to all who helped me with the last problem I had. I now have my
    system printed out failed jobs as I wanted.
    
    I have a simple question:
    
    How do I change the maximum number of attempts to send a fax?? I have
    tried using MaxDials, MaxSetupAttemps and MaxTries in my config and
    config.cuax files to no avail. Is it something to do with a destcontrol
    file I read about (man page destctrls(5F))??
    
    When I queue some jobs and then issue a "faxstat -s" , it shows the tries
    as 0:12, ie, tried 0 times, out of twelve, I want to reduce this to 3,
    regardless of error, no carrier, busy, no answer or other.
    
This is fairly simple :-)

Just set in your spool/etc/config file:
MaxDials: 3

Some more information because there are some places to look
and maybe it's a little bit confusing.

config(4F) explaines the parameter MaxDials and MaxTries in detail.
MaxDials are the number of calls regardless of error, no carrier,
busy, no answer or other. MaxTries is the number of sending the
fax and is counted up only if CARRIER was detected. Both values
belong to the config (and not to the modem-config file) and the
default values are 3 for MaxTries and "unlimited" for MaxDials.

if a client (e.g.sendfax(1)) wants to create a job it does this
by contacting the hfaxd(1M) and hfaxd(1M) creates the sendq(4F)
file for this job and places a lines about "maxdials" and "maxtries"
into the job description which hfaxd(1M) get from the client:

-> JPARM MAXDIALS 12
213 MAXDIALS set to 12.
-> JPARM MAXTRIES 3
213 MAXTRIES set to 3.

if you're using sendfax(1) you can control these values
(default 3 for "maxtries" and 12 for "maxdials") with flags or
sendfax.conf values (see sendfax(1));

these values are shown if you are asking with faxstat(1) for
the job (and in our example you will see x:12 in the "Dials"
column of faxstat(1)), but the server will only place as much
calls/tries as specified in the config(4F) file;

you may overwrite the values in config(4F) file with lines
in the destctrls(4F) on a per destination basis;

hope it's clear now and it helps;

see also Q86 of the new FAQ;

	matthias




Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services