Hylafax Mailing List Archives

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

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



Because I changed NOFCON into NOANSWER in Class2Modem::dialResponse, the dial function now gives back a status of 3, which is correct. I see that the dial function is called in pageSendApp::sendPage:

CallStatus callstat = getModem()->dial(number, notice);

callstat will be 3 after I close the connection on my voice phone. However, hylafax still calls my voice phone 3 times. I tried to put things after 'case ClassModem::NOANSWER:' to let it stop after the first call, but without a result. I can't use protoTrace in this function, that's an extra handicap. Is there another function that writes something in a logfile that's available in pageSendApp?

Or can somebody see what's wrong in pageSendApp::sendPage in hylafax 4.2.2? Either case ClassModem::NOANSWER is not true (should be true however), or the sendFailed(req, send_retry, notice, requeueTTS[callstat]); that follows doesn't do the correct job.

Thanks again,
Mark


Mark Hunting wrote:


Ah, protoTrace() writes into the session log.

Mark Hunting wrote:

I thought I found the problem. In Class2Modem::dialResponse is this line:

case 11: return (NOFCON); // No answer (T.30 timeout)

I changed the 'NOFCON' to 'NOANSWER'

case 11: return (NOANSWER); // No answer (T.30 timeout)

Unfortunately, this doesn't give the desired result, Hylafax still calls me three times. I have very little experience in C++, and because the Hylafax source code is a bit too complicated for me I don't know how to get some information into a logfile. This would be handy to see what's happening. How can I write something in a logfile? It doesn't matter if it is syslog or the session log.

Thanks!


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



____________________ 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