Scripts : Deprecated : Installs
Install Fax ALPHA
Submitted by Admin on January 3, 2008 - 7:46pm.
Version 1.2 Released. Now optional support for NVFaxDetect!
WARNING
This is an ALPHA script that will install Hylaxfax and Iaxmodem. This is an experimental script and NO SUPPORT IS PROVIDED OTHER THAN:
"IF YOU HAVE PROBLEMS AFTER RUNNING THIS PROGRAM YOU NEED TO REINSTALL PBX IN A FLASH"
That is it! Nothing else is offered. If you post in our forums whining how it killed your system you will be ignored/or pointed to the one and only support option. You need to read the requirements below before proceeding. BTW do not whine to me about the blinking warning it was meant to get your attention.
THIS PROGRAM SHOULD NOT BE RUN BY PEOPLE NEW TO LINUX
Requirements
Prior to installing this program you will need a PBX in a Flash box that has been successfully installed with the following extra steps already performed. If you do not perform these steps (in order) you will need to reinstall PIAF again and then read these instructions and follow them to the letter. Leaving out a step or doing them out of sequence will kill your PIAF install. Have I warned you enough?
- Install PIAF 1.1 (only)
- After the installation run the following in order
- passwd-master (YOU NEED TO SELECT YES TO THE FIRST 2 OPTIONS AND ENTER A PASSWORD FOR THE THIRD)
- update-source
- update-scripts
- update-fixes
- yum -y update (go away and have a coffee it will take a while)
- Reboot your system
- Open FreePbx and install all of the modules
- Configure a FreePbx extension 8000 (as below)
- Having done all of the above in order now proceed to the installation instructions below.
Known Issues
The root user in MySql must be named root and have the password passw0rd
Installation
Once all of the steps about have been completed
Add an IAX extension in FreePbx. This will be the new extension that should receive all faxes. Below is a screen capture of what must be performed BEFORE you run the install-fax-alpha.x program. The rest of the configuration is beyond the scope of this page but you will need at least one line in to test the fax and have set up a minimum of one trunk, an inbound route for your fax number, and real extension like xlite etc. UPDATED I have included an option to install the current build of NV_Faxdetect and NV_BackGroundDetect. If you choose to implement this you can *test* using native NVFax in FreePbx. This means you *MAY* be able to share a voice line as it was in Atserisk 1.2. If it doesn't work for you then you can test with a dedicated DID line just for faxes. if someone were to throw a few dollars my way I could spend more time on getting Avantfax working! hint hint)
Thus you need a dedicated fax number which will be routed directly to extension 8000 or if you install the optional NVFax you might be able to use a voice line. Good Luck! It works over here! No warranty implied!
Configuring FreePBX
Open up FreePbx and navigate to the extensions choice and set up an IAX extension similar to below. NOTE you must use 8000 as the extension and 1234 as the password! For the moment these are hard coded into the setup program. You will then point fax detection to extension 8000!
Installing The Fax Programs
- Log onto PBX in a Flash via the CLI (Command Line Interface) as user root
- cd /root
- wget http://www.pbxinaflash.org/scripts/install-fax-alpha.x.gz
- gunzip install-fax-alpha.x.gz
- chmod +x install-fax-alpha.x
- ./install-fax-alpha.x
- This is an interactive script and the program will reboot your computer twice! You will need to run the install-fax-alpha.x program twice.
The general order of install is Install-support programs - Reboot - run install-fax-alpha.x again , Install continues with hylafax/iaxmodem, Compile hylafax/iaxmodem, Interactive configuration (directions are given in script! - no screen captures yet as this is ALPHA!), Reboot. You should be able to test the fax receive now.
Documentation
Script Creator: Tom King
Many thanks to all of those who have helped get it this far. Especially ednunnemaker and cosmicwombat

PBX In A Flash Scripts