Hello everybody, this is my first post and I hope everyone will find it VERY useful!
I have successfully setup FreePBX 126.96.36.199 with Asterisk 188.8.131.52, HylaFax 6.0.5, AvantFax 3.3.3, and IAXModem 1.2.0 using Google Voice as the incoming and outgoing trunk for Faxing.
I have confirmed this works PERFECTLY and incoming and outgoing faxes are received using Google Voice Free DID.
No other provider, IAX or SIP, is necessary to get this working and you can make free calls in and out.
This took me about 3 days of very hard work and very long night, some of them I didnt even sleep LOL, but after persistence and hard work it paid off!
Heres the setup and instructions:
You can either use a physical machine or a Virtual Machine, if the latter I prefer VMWARE Player, just to get it setup to test.
First of all you want to install this on a FRESH install of CentOS minimum packages selected
Once you have your base system up and running login using putty or your favorite SSH program and issue the following command:
#Fix Kernel Path
yum -y install kernel kernel-devel
rm -rf build
ln -s /usr/src/kernels/2.6.18-194.26.1.el5-i686/ build
What this does is updates your Kernel and fixes the path for building and installing.
After the reboot log back in and issue the following command:
#Install Asterisk Dependencies
yum install -y flex screen sox libxml2-devel libxml2 yum-utils mysql-connector-odbc gcc gcc-c++ ncurses-devel subversion libtiff libtiff-devel libusb-devel bison bison-devel ncurses ntp zlib zlib-devel openssl openssl-devel gnutls-devel httpd mysql-server mysql-devel bind php php-mysql php-gd php-pear php-mbstring ghostscript speex-devel libogg-devel libvorbis-devel curl-devel unixODBC-devel libtool-ltdl-devel net-snmp-devel bzip2-devel newt-devel lm_sensors-devel openldap-devel postgresql-devel gtk±devel libtermcap termcap webalizer expect sendmail-cf ImageMagick ghostscript libtiff netpbm-progs libungif cups lpr psutils
#Install CentOS Testing Repo
#Enabled = 1
yum update --enablerepo=c5-testing php*
After you install the first set of programs with YUM reboot and then enable the CentOS Testing Repo for PHP 5.2
Complete regular install of Asterisk, LibPRI, Dahdi, FreePBX, and other required files.
Now for setup of FAX
Once Asterisk and FreePBX are installed, install IAXModem as usual I use the ./build static so that IAXModem uses its own SpanDSP libraries and doesnt have to bother with Asterisk’s files.
Once you setup your IAX2 extension in FreePBX and create the associated IAXModem file you are ready to Fax
To use Google voice as the outgoing trunk you will need to edit gtalk.conf jabber.conf and extensions_custom.conf to reflect your Google Voice settings
In FreePBX make a trunk for your google voice and direct it to gtalk/[trunk]/[email protected]
Make an outbound route and point it to your trunk, make sure you make sure the dial pattern is correct as Google Voice requires 11 digit format for outgoing calls IE. 1-555-555-1212
Create your incoming route and route it to your IAX2 extension.
Login to avant fax and follow these instructions:
Send a one page black and white text fax to 1-888-hpfaxme (1-888-473-2963).
When your fax is received by the HP Test Fax Service, we will generate a return fax to you within five minutes confirming that we received your fax. This verifies that you can both send and receive a fax with your fax machine.
This is a free service by HP which allows you to send a fax to the number and it will send you a fax back to confirm your faxing is working.
And thats all Faxing is complete setup you should receive a notification within 10 minutes to your inbox. In my own tests it happened within 5 minutes, may vary on time of day.