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] JobRetryNoAnswer doesn't work?



* Lee Howard <faxguy@xxxxxxxxxxxxxxxx> [051123 12:32]:
> Mark Hunting wrote:
> 
> >How do I find out what error my modem gives? Well, Hylafax gives 'No 
> >answer (T.30 T1 timeout)' in its log files. That looks like a 'NO 
> >ANSWER' message to me :-)
> 
> 
> I believe that it was the ITU that worded that error message, and it's a 
> poorly worded one at that.  It does not mean the same thing as a "NO 
> ANSWER" dial result (and I believe that the JobRetry__ values are only 
> for dial results).  It means that the call was answered, that the call 
> proceded into fax protocol, but that the receiver did not answer with 
> fax protocol.   This will happen if a modem results with a fax 
> connection without hearing the CED signal/tones.

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.

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 438-4638 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions