Avantfax on Archlinux - Sent Faxes Don't Show in Archive?
"David C. Rankin" <[email protected]> Wed, 14 Sep 2016 22:15:24 -0500
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Organization | Rankin Law Firm, PLLC |
| Message-ID | <[email protected]> |
All, I need help. I have hylafax/avantfax install that I have had since 2009. I have recently move the install to a new machine running Archlinux. Avantfax 3.3.5 will not work with php 7, so I've downgraded to php 5.6. The install was a simple manual install. Configure hylafax, unpack the avantfax tgz, move the 'avantfax' folder to my server root, rsync the existing 'avantfax/faxes' and 'avantfax/tmp' folders, go through the manual install and upgrade procedures at http://www.avantfax.com/install.php http://www.avantfax.com/upgrading.php Then a quick trip though 'includes/local_config.php' and confirm the hylafax etc/hosts.hfaxd, config and config.ttyS0 and we are done. (a side note, since the old machine's modem was on ttyS1, the new serial port config caused me to lose the entire inbox, but adding a modem via the admin/Modems config in avantfax caused the inbox to reappear. I suspect I can run an update query on the mysql tables and change ttyS1 to ttyS0 out to allow me to get rid of the dummy modem) The problem I have is that when I send a fax, there is nothing shown in the archive. All the mysql accounts and passwords work fine, the inbox displays find, the Log displays fine, all users, etc are fine, I can update modify the tables through the admin interface fine, but no matter what I do, when I send a fax, there is no record in the archive of any fax at all -- huh? If it matters, the modem is an external MODEM USR USRobotics Courier V.Everything, and then only reason I think that's important is the looking at a diff of the class 1/class 2.0 configs created by faxaddmodem I find: -## AvantFAX configuration +# Disables the reporting of bad frames by the modem. This +# overcomes a firmware problem in the x2 and V90 Sportsters. +# It is not necessary for the Courier modem. # -FaxrcvdCmd: bin/faxrcvd.php -DynamicConfig: bin/dynconf.php -UseJobTSI: true - I can confirm it made no difference as I sent faxes with both a class 1 and class 2.0 config and had the same behavior with no faxes in the archive. The class 2.0 setup greatly improved the send fax communication. With the class 1 config, I would get regular SEND FAILED errors, e.g.: SEND FAILED: JOB 11 DEST 7159339 ERR [125] COMREC invalid command received/no DIS or DTC which were hit or miss, but sometimes would cause the fax to fail all 3 times it was queued. No issue with the class 2.0 config. So all this leaves me baffled as to why the faxes are not recorded in the database or shown in the archive? Checking the avantfax.FaxArchive table, there are no faxes at all shown for the new machine. the only faxes are before the move where the $ mysql -u avantfax -p -Bse "select faxnumid, pages, archstamp, modemdev from avantfax.FaxArchive order by archstamp asc;" Enter password: <snip> 24 1 2016-09-08 12:48:56 ttyS1 24 1 2016-09-09 04:31:33 ttyS1 None of the 10 faxes sent today are shown. What should I check to figure out why the faxes are not winding up in the inbox? Here is a listing of the hylafax.etc directory: # l etc total 100 drwxr-xr-x 3 uucp uucp 4096 Sep 14 18:06 . drwxr-xr-x 17 uucp uucp 4096 Sep 13 15:12 .. drwxr-xr-x 12 uucp uucp 4096 Dec 6 2015 templates -rw-r--r-- 1 uucp uucp 210 Sep 13 18:12 config -rw-r--r-- 1 uucp uucp 150 Sep 13 15:04 config.sav -rw-r--r-- 1 uucp uucp 3649 Sep 14 18:06 config.ttyS0 -rw-r--r-- 1 uucp uucp 3791 Sep 14 18:02 config.ttyS0.class_1 -rw-r--r-- 1 uucp uucp 3635 Sep 14 18:04 config.ttyS0.sav -r--r--r-- 1 root root 10368 Dec 6 2015 cover.templ -r--r--r-- 1 root root 1855 Dec 6 2015 dialrules -r--r--r-- 1 root root 2397 Dec 6 2015 dialrules.europe -r--r--r-- 1 root root 2093 Dec 6 2015 dialrules.sf-ba -r--r--r-- 1 root root 3235 Dec 6 2015 dpsprinter.ps -rw------- 1 uucp uucp 297 Sep 14 02:07 hosts.hfaxd -rw------- 1 root root 20 Sep 14 02:04 hosts.hfaxd.orig -rw-r--r-- 1 uucp uucp 14072 Dec 6 2015 lutRS18.pcf -r--r--r-- 1 root root 1281 Sep 13 15:02 setup.cache -r--r--r-- 1 root root 790 Sep 13 15:02 setup.modem -rw-r--r-- 1 uucp uucp 4443 Sep 14 19:22 xferfaxlog Let me know if there is any additional information or tests I can run to help out. I'm happy to fetch whatever info may shed light on this problem. Thanks. -- David C. Rankin, J.D.,P.E. ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe [email protected] < /dev/null *To learn about commercial HylaFAX(tm) support, mail [email protected].*