Here's config
LogFacility: daemon
CountryCode: 1
AreaCode: 415
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
ModemGroup: "any:\(ttyS.*\|ttyD.*\|ttyACM.*\)"
ModemGroup: "ANY:\(ttyS.*\|ttyD.*\|ttyACM.*\)"
ModemGroup: "HOT:\(ttyS10\|ttyS11\|ttyS12\|ttyS13\|ttyS14\|ttyS15\|ttyS16\|ttyS17\|ttyS4\|ttyS6\|ttyS7\|ttyS8\|ttyS9\|ttyD.*\)"
ModemGroup: "BEZEQ:ttyS0"
ModemGroup: "SUPRANEW:\(ttyS4\|ttyS5\|ttyS13\|ttyS14\|ttyS16\|ttyS17\)"
ModemGroup: "LIMIT:\(ttyD.*\|ttyS4\|tty5\|ttyS6\|ttyS7\|ttyS8\|ttyS9\|ttyS10\|ttyS11\|ttyS12\)"
UseJobTSI:yes
Here's a sample config.tty file
CountryCode: 972
AreaCode: 077
FAXNumber: "SUPRA-NEW-INTL"
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: "OFF"
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "
FreeFax.co.il"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
ModemPriority: 100
#ModemReadyState: B # This can be Ready os Busy
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
ModemRate: 115200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&K0 # setup no flow control
ModemHardFlowCmd: AT&K3 # setup hardware flow control
ModemSoftFlowCmd: AT&K4 # setup software flow control
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
#
ModemMfrQueryCmd: !Rockwell
ModemModelQueryCmd: !RC288DPi
ModemRevQueryCmd: ATI3 # product information
#
ModemDialCmd: ATDT%s # T for tone dialing
JobReqBusy: 30
JobReqNoAnswer: 60
JobReqNoCarrier: 30
JobReqNoFCon: 30
JobReqOther: 30
JobReqProto: 30
JobRetryBusy:20
JobRetryDataConn:20
JobRetryNoAnswer:20
JobRetryNoCarrier:20
JobRetryOther:20
MaxDials:50
MaxTries:50
2010/9/22 Lee Howard
<faxguy@xxxxxxxxxxxxxxxx>
Please show me your /var/spool/hylafax/etc/config file.
Thanks,
Lee.
Eliran Itzhak wrote:
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 <mailto: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.