HylaFAX The world's most advanced open source fax server |
I have the same problem, except mine appears to only happen sometime over the weekend (once a week). I believe that it may be hylafax, because when this is occurring, I can go into minicom and see 'ring' appear when I call the fax number (yet hylafax never picks up).
I have been using the following script to "bounce" my 2 ZPX modems every hour (only when they have the status of idle) with cron.
# The name of the modem to check on target=ttyS1
# The location of the log file for this script loglocation=/var/spool/hylafax/tmp/$target.log
# This grabs the output of the 'faxstat' command fstat=`/usr/bin/faxstat | awk '/'"$target/"' {print $4,$5,$6}' | tr -d '\15\32'`
# Checks to see if the modem is in an idle state. If so, grab the PID and kill it, # otherwise, log what state the modem was in. if [ "$fstat" = "Running and idle" ]; then fps=`ps -edf | grep $target | grep -v 'grep' | grep -v 'root' | awk '{print $2}'` echo `date` : Killing process : $fps >> $loglocation kill $fps else echo `date` : Process status was : $fstat >> $loglocation fi
-----Original Message-----
Hi,
We've configured a Multitech MT5634ZPX-PCI modem for receiving fax, but from time to time, it just stops detecting the ring and stops answering calls. faxstat says it's "Running and idle", but it only gets to work again when I kill the faxgetty process.
It's been working like this for 3 weeks now and the problem occurs every two days on average. We've already tried the configuration as class 1 and class 2 with no success.
ServerTracing (0x08F6F) is enabled, but it doesn't seem to log any information about this problem. The last configuration we've tried is in the bottom of this message.
We're running hylafax 4.2.1 on a FreeBSD 4.11-RELEASE (i386) and the firmware version of the modem is 8.19i.
Any suggestions?
Thanks, Hugo
----config.cuaa0 begin LogFacility: local2 DialStringRules: etc/dialrules ServerTracing: 0x08F6F SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: off GettyArgs: "-h %l dx_%s" LocalIdentifier: "NothingSetup" TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%P of %%T" MaxRecvPages: 25
ModemType: Class2 ModemRate: 19200 ModemFlowControl: rtscts ModemSoftResetCmd: ATZ ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 ModemRecvFillOrder: MSB2LSB ModemSetupDTRCmd: AT&D3 ModemSetupDCDCmd: AT&C1
Class2APQueryCmd: none Class2BUGCmd: none Class2NFLOCmd: AT+FLO=0 Class2SFLOCmd: AT+FLO=1 Class2HFLOCmd: AT+FLO=2
Class2CQQueryCmd: "!0-2" Class2CQCmd: AT+FCQ=1 -----config.cuaa0 end
____________________ 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* |