Hylafax Notes

From OpenEMR Project Wiki

General

(All examples in this section are using Linux/Ubuntu.)


Install Hylafax

sudo apt-get install hylafax-server hylafax-client
sudo gpasswd -a [USERNAME] dialout
sudo chmod a+x /usr/sbin/pppd



Start and Stop Hylafax

sudo /etc/init.d/hylafax stop
sudo /etc/init.d/hylafax start


Hylafax Commands

faxaddmodem

sudo faxaddmodem
  • USB modem is usually at: ttyACM0.
  • Location of Config File
/etc/hylafax/config.tty[XXX]
sudo nano config.ttyACM0




Faxstat

Show Send Queue
faxstat -s
Show Done Queue
faxstat -d


Sendfax

 sendfax -n -d [TELEPHONE NUMBER] /usr/share/doc/hylafax-server/copyright


faxrm

faxrm [JOB ID]


Hylafax Directories

/etc/hylafax Config Files.
/etc/hylafax/hyla.conf Main Hylafax Config File.
/etc/hylafax/config.tty[XXX] Fax Modem Settings.
/var/spool/hylafax Spool Folder.
/var/spool/hylafax/docq Documents - Image Files/PDFs of Documents Sent & Received.
/var/spool/hylafax/sendq FAX Jobs - Sent.






AvantFAX