Hylafax Mailing List Archives

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

Re: [hylafax-users] JobRetryNoAnswer doesn't work?



Now I've put this in /etc/hylafax/config and I added it to the top of all per-device files:

ServerTracing:          0xffff
SessionTracing:         0xffff

Aiden, I'll mail you my server log. These are the tree session logs (looks correct to me, the modem gives 9:+FHNG: 11):

Nov 24 10:19:19.07: [ 2977]: SESSION BEGIN 000132539 3164263xxxx
Nov 24 10:19:19.07: [ 2977]: HylaFAX (tm) Version 4.2.2
Nov 24 10:19:19.07: [ 2977]: SEND FAX: JOB 101678 DEST 064263xxxx COMMID 000132539 DEVICE '/dev/ttyds08'
Nov 24 10:19:19.07: [ 2977]: STATE CHANGE: RUNNING -> SENDING
Nov 24 10:19:19.07: [ 2977]: <-- [10:AT+FBOR=0\r]
Nov 24 10:19:19.07: [ 2977]: --> [2:OK]
Nov 24 10:19:19.07: [ 2977]: <-- [3:AT\r]
Nov 24 10:19:19.07: [ 2977]: --> [2:OK]
Nov 24 10:19:19.07: [ 2977]: <-- [10:AT+FBUG=1\r]
Nov 24 10:19:19.07: [ 2977]: --> [2:OK]
Nov 24 10:19:19.07: [ 2977]: <-- [24:AT+FDCC=1,5,2,2,0,2,0,0\r]
Nov 24 10:19:19.07: [ 2977]: --> [2:OK]
Nov 24 10:19:19.07: [ 2977]: DIAL 064263xxxx
Nov 24 10:19:19.07: [ 2977]: <-- [15:ATDT064263xxxx\r]
Nov 24 10:19:31.66: [ 2977]: --> [9:+FHNG: 11]
Nov 24 10:19:31.66: [ 2977]: REMOTE HANGUP: No answer (T.30 T1 timeout) (code 11)
Nov 24 10:19:31.66: [ 2977]: SEND FAILED: JOB 101678 DEST 064263xxxx ERR No answer (T.30 T1 timeout)
Nov 24 10:19:31.66: [ 2977]: <-- [5:ATH0\r]
Nov 24 10:19:31.66: [ 2977]: --> [2:OK]
Nov 24 10:19:31.66: [ 2977]: MODEM set DTR OFF
Nov 24 10:19:31.66: [ 2977]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Nov 24 10:19:31.66: [ 2977]: SESSION END


Nov 24 10:20:42.46: [ 2994]: SESSION BEGIN 000132540 3164263xxxx
Nov 24 10:20:42.46: [ 2994]: HylaFAX (tm) Version 4.2.2
Nov 24 10:20:42.46: [ 2994]: SEND FAX: JOB 101678 DEST 064263xxxx COMMID 000132540 DEVICE '/dev/ttyds11'
Nov 24 10:20:42.46: [ 2994]: STATE CHANGE: RUNNING -> SENDING
Nov 24 10:20:42.46: [ 2994]: <-- [10:AT+FBOR=0\r]
Nov 24 10:20:42.46: [ 2994]: --> [2:OK]
Nov 24 10:20:42.46: [ 2994]: <-- [3:AT\r]
Nov 24 10:20:42.46: [ 2994]: --> [2:OK]
Nov 24 10:20:42.46: [ 2994]: <-- [10:AT+FBUG=1\r]
Nov 24 10:20:42.46: [ 2994]: --> [2:OK]
Nov 24 10:20:42.46: [ 2994]: <-- [24:AT+FDCC=1,5,2,2,0,2,0,0\r]
Nov 24 10:20:42.46: [ 2994]: --> [2:OK]
Nov 24 10:20:42.46: [ 2994]: DIAL 064263xxxx
Nov 24 10:20:42.46: [ 2994]: <-- [15:ATDT064263xxxx\r]
Nov 24 10:20:52.01: [ 2994]: --> [9:+FHNG: 11]
Nov 24 10:20:52.01: [ 2994]: REMOTE HANGUP: No answer (T.30 T1 timeout) (code 11)
Nov 24 10:20:52.01: [ 2994]: SEND FAILED: JOB 101678 DEST 064263xxxx ERR No answer (T.30 T1 timeout)
Nov 24 10:20:52.01: [ 2994]: <-- [5:ATH0\r]
Nov 24 10:20:52.01: [ 2994]: --> [2:OK]
Nov 24 10:20:52.01: [ 2994]: MODEM set DTR OFF
Nov 24 10:20:52.01: [ 2994]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Nov 24 10:20:52.01: [ 2994]: SESSION END


Nov 24 10:22:02.81: [ 2998]: SESSION BEGIN 000132541 3164263xxxx
Nov 24 10:22:02.81: [ 2998]: HylaFAX (tm) Version 4.2.2
Nov 24 10:22:02.81: [ 2998]: SEND FAX: JOB 101678 DEST 064263xxxx COMMID 000132541 DEVICE '/dev/ttyds06'
Nov 24 10:22:02.81: [ 2998]: STATE CHANGE: RUNNING -> SENDING
Nov 24 10:22:02.81: [ 2998]: <-- [10:AT+FBOR=0\r]
Nov 24 10:22:02.81: [ 2998]: --> [2:OK]
Nov 24 10:22:02.81: [ 2998]: <-- [3:AT\r]
Nov 24 10:22:02.81: [ 2998]: --> [2:OK]
Nov 24 10:22:02.81: [ 2998]: <-- [10:AT+FBUG=1\r]
Nov 24 10:22:02.81: [ 2998]: --> [2:OK]
Nov 24 10:22:02.81: [ 2998]: <-- [24:AT+FDCC=1,5,2,2,0,2,0,0\r]
Nov 24 10:22:02.81: [ 2998]: --> [2:OK]
Nov 24 10:22:02.81: [ 2998]: DIAL 064263xxxx
Nov 24 10:22:02.81: [ 2998]: <-- [15:ATDT064263xxxx\r]
Nov 24 10:22:17.66: [ 2998]: --> [9:+FHNG: 11]
Nov 24 10:22:17.66: [ 2998]: REMOTE HANGUP: No answer (T.30 T1 timeout) (code 11)
Nov 24 10:22:17.66: [ 2998]: SEND FAILED: JOB 101678 DEST 064263xxxx ERR No answer (T.30 T1 timeout)
Nov 24 10:22:17.66: [ 2998]: SEND FAILED: JOB 101678 DEST 064263xxxx ERR No answer (T.30 T1 timeout); too many attempts to dial
Nov 24 10:22:17.66: [ 2998]: <-- [5:ATH0\r]
Nov 24 10:22:17.66: [ 2998]: --> [2:OK]
Nov 24 10:22:17.66: [ 2998]: MODEM set DTR OFF
Nov 24 10:22:17.66: [ 2998]: STATE CHANGE





In Class2Modem::dialResponse(), we do try and parse the FHNG resonses.


In a typical Class2 "No carrier" situation, we see somthing like:
	Nov 23 08:58:07.36: [26604]: DIAL 916196908599
	Nov 23 08:58:07.36: [26604]: <-- [25:ATS0=255;DT916196908599@\r]
	Nov 23 08:59:13.44: [26604]: --> [9:+FHNG: 11]
	Nov 23 08:59:13.44: [26604]: REMOTE HANGUP: No answer (T.30 T1 timeout) (code 11)
	Nov 23 08:59:13.44: [26604]: SEND FAILED: JOB 2059 DEST 916196908599 ERR No answer (T.30 T1 timeout)
	Nov 23 08:59:13.44: [26604]: <-- [5:ATH0\r]
	Nov 23 08:59:13.44: [26604]: --> [2:OK]
	Nov 23 08:59:13.44: [26604]: SESSION END

And +FHNG:11 response to the dial *should* go back to as ClassModem::NOANSWER.

That, in turn should be checked as retryMAX[NOANSWER] (where NOANSWER == 3)
in FaxServer::sendFax(...).

Mark, can you put ServerTracing up to 0xFFFF (put it first in the config
file so we see config file parsing) for the device, and show all the
logs for a complete set of sends on that job?  Session logs as well,
just for verification.

Send them to me directly, or post them if they are really large (which
they should be).

Is the 4.2.2 from source, or debian packages?

a.




____________________ 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*



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