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] More then 12 redials ?



I really appreciate you going into the code to verify this, but I cant find any limit on the dialing attempts. the config / config.tty* file are fine. Where else can I look ?

Eliran.

2010/9/21 Lee Howard <faxguy@xxxxxxxxxxxxxxxx>
Eliran Itzhak wrote:
ntries:0
ndials:12
totdials:12
maxdials:20
tottries:0
maxtries:20

errorcode:E333
status:REJECT: Too many attempts to dial : 12, max 12

There is only one place in the code where this error can happen (which is in faxQueueApp.c++)...

              u_short maxdials = fxmin((u_short) job.getJCI().getMaxDials(),req->maxdials);
              if (req->totdials >= maxdials) {
                  rejectJob(job, *req, fxStr::format(
                      "REJECT: Too many attempts to dial {E333}: %u, max %u",
                      req->totdials, maxdials));
                  deleteRequest(job, req, Job::rejected, true);
                  continue;
              }

So in order for the REJECT failure to have occurred the totdials would need to exceed maxdials (in the q-file) or the MaxDials value from JobControl.  Since it's clear from your q-file that totdials was less than maxdials, I must conclude, therefore, that you've got a MaxDials value of 12 coming out of JobControl.

Is that correct?

Thanks,

Lee.




Project hosted by iFAX Solutions