Hylafax Enterprise requires purchasing a license from iFax, and is only supported on CentOS 5.x and 6.x with the RPM installation files. The standalone ISO image is not supported. Request from iFax the RPM installation instructions and files.

First obtain a license key from iFax. This is bound to the MAC address of the server's primary network interface.

Install files:

Pre-requisites:

  • rpm -ivh http://repo.ifax.com/yum/ee-6.0/ifax-ee-6.0.rpm
  • yum -y install ifax-lmgrd hylafax-enterprise gcc make kernel-devel-`uname -r`

Configure Enswitch, answering the prompts as below:

  • enswitch install hylafax-enterprise
  • At "Are these ok [yes]?" answer yes
  • At "Should I restart the HylaFAX server processes [yes]?" answer no
  • At "Should I run faxmodem for each configured device [yes]?" answer yes

Edit configuration files:

/var/spool/hylafax/ifax/bt/config/callctrl.cfg

  • If Asterisk is listening on a non-default port (for example port 5070) then update the port in sip_default_gateway.
  • Hylafax Enterprise runs on port 5090 by default. If this will conflict with anything else on your server, then change the sip_ip_interface_port, and make sure the same port is used in the Asterisk sip.conf configuration below.

/etc/asterisk/sip.conf

  • Add a new stanza to the bottom of the file with the following configuration:
    • [127.0.0.1:5090]
    • host = 127.0.0.1
    • port = 5090
    • type = peer
    • disallow = all
    • allow = alaw
  • asterisk -rx 'sip reload'

Set Enswitch to use Hylafax Enterprise:

  • Set system configuration "Fax send driver" to "hylafax_enterprise".
  • Set system configuration "Fax receive driver" to "hylafax_enterprise".
  • In each desired role set "Send faxes" to "Yes".

Start Hylafax Enterprise:

  • service ifax-lmgrd start
  • service ifax-bt start
  • service hylafax start

Run the following command to verify that the fax devices are "Running". If they report "Waiting" then wait one minute and check again.

  • /usr/bin/faxstat