Not Logged in - No Account?
Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.
HOWTO: Patching Asterisk for incoming fax functionality
This page assumes that you've already downloaded and compiled Asterisk
and Zaptel. If you've been linked to this page from a walkthrough
installation page, you already have! Here we're downloading and
installing the spandsp rxfax and txfax applications, along with the Newman Telecom's 'nvfaxdetect' applcation.
Download the required files:
Note: Due to long URL's on this page, be careful when copying and pasting - everything in bold is one command.
root@dhcp1 ~# cd /usr/src
root@dhcp1 src# wget http://www.soft-switch.org/downloads/spandsp/old/spandsp-0.0.2pre26.tar.gz
root@dhcp1 src# tar zxf spandsp-0.0.2pre26.tar.gz
root@dhcp1 src# cd spandsp-0.0.2
root@dhcp1 spandsp-0.0.2# ./configure --prefix=/usr && make && make install
That installs 'spandsp', a very powerful DSP package that can, as
one of it's many things, emulate a Fax machine. If you're interested in
what else spandsp can you, you can read the technical documentation here.
Download and install the txfax and rxfax applications
root@dhcp1 src# cd /usr/src/asterisk/apps
root@dhcp1 apps# wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.2pre26/asterisk-1.2.x/app_rxfax.c
root@dhcp1 apps# wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.2pre26/asterisk-1.2.x/app_txfax.c
root@dhcp1 apps# wget http://www.newmantelecom.com/download/asterisk/faxdetect/1.0.6/app_nv_faxdetect.c
root@dhcp1 apps# wget http://aussievoip.com/makefile.patch
root@dhcp1 apps# patch < apps_makefile.patch
root@dhcp1 apps# cd ..
root@dhcp1 asterisk# make upgrade
That will build and install the three new modules, app_rxfax,
app_txfax and app_nv_faxdetect. You will need to restart asterisk to
load these modules:
root@dhcp1 apps# asterisk -rx 'restart when convenient'
- Printer-friendly version
- Login or register to post comments
Links Not working...
You may have to review this how to, as most of the links that are supplied are out of date or non existent.
Regards,
C