HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Hylafax Outbound Fax does not count retries



Hi All,
Here is our issue. I'm using Hylafax to send outbound fax. Everything works fine when the number it dials is a good number with a working fax machine. The issue we encounter is when the number is bad or busy, it does not increment the retry counter in the job file. After days of troubleshooting, it came down to this one thing we noticed.



In the job queue file, near the top we can see how many tries it's set for, how many it's done so far, etc.


ntries:0
ndials:0
totdials:0
maxdials:3
tottries:0
maxtries:3


But the hylafax server will dial the number over and over, it's not counting the retries. Here is an example of the modem log.


Jun 21 15:27:13.56: [ 7944]: SESSION BEGIN 000005717 +1XXXXXX4768
Jun 21 15:27:13.57: [ 7944]: HylaFAX (tm) Version 5.1.8
Jun 21 15:27:13.57: [ 7944]: SEND FAX: JOB 499 DEST 2614768 COMMID 000005717 DEVICE '/dev/ttyS0' FROM 'XX@xxxxxxxxxxxxxxxxxxx>' USER knightmb@xxxxxxxxxxxxxxxxxxx
Jun 21 15:27:13.57: [ 7944]: STATE CHANGE: RUNNING -> SENDING
Jun 21 15:27:13.57: [ 7944]: <-- [12:AT+FCLASS=1\r]
Jun 21 15:27:13.58: [ 7944]: --> [2:OK]
Jun 21 15:27:13.58: [ 7944]: DIAL XXX4768
Jun 21 15:27:13.58: [ 7944]: <-- [14:ATDTXXX4768\r]
Jun 21 15:28:17.13: [ 7944]: --> [10:NO CARRIER]
Jun 21 15:28:17.13: [ 7944]: SEND FAILED: JOB 499 DEST XXX4768 ERR No carrier detected {E002}
Jun 21 15:28:17.13: [ 7944]: SEND FAILED: JOB 499 DEST XXX4768 ERR No carrier detected {E002}; too many attempts to dial
Jun 21 15:28:18.13: [ 7944]: <-- [5:ATH0\r]
Jun 21 15:28:18.13: [ 7944]: --> [2:OK]
Jun 21 15:28:18.13: [ 7944]: MODEM set DTR OFF
Jun 21 15:28:18.13: [ 7944]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Jun 21 15:28:18.13: [ 7944]: SESSION END


Queue Job File:


errorcode:
status:
returned:0
notify:when done
pagechop:default
chopthreshold:3
!tiff:0::docq/doc499.tif.499
fax:0::docq/doc499.tif;c1


Now if you check the job queue after this, it's as though it didn't even record that it had an error. The returned 0 from what I read in hylafax means nothing happened and it doesn't increment the amount of dialing tries. I've taken the fax modems and used manual AT commands of dialing and faxing just to see what response codes they are sending. They are using the correct respond codes, so I'm not sure how Hylafax is "missing" the response when it's busy, no carrier, etc?


Any info or help would be greatly appreciated. Using hylafax 5.1.8 on Mandriva 2008.0



____________________ 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