Rxfax options

Rob -

Wondering if you found any way to modify the rxfax line in the ext-fax dialplan, or pass the settings you want. I’d want the line to look like this in the dialplan:
exten => s,n,rxfax(${ASTSPOOLDIR}/fax/${UNIQUEID}.tif|debug|ecm|log=/var/log/asterisk/faxlog.log)

I’ve setup the AGX fax extensions as follows:
Install compiling tools and kernel headers etc:
yum install kernel-devel kernel-headers gcc gcc-c++ zaptel-devel libtiff-devel subversion

Install Cmake rpm – needed by AGX tools for build:
Wget http://dl.atrpms.net/all/cmake-2.6.4-7.el5.i386.rpm
Rpm –ivh cmake-2.6.4-7.el5.i386.rpm

remove spandsp 0.0.4-22.pre15
rpm –e –-nodeps spandsp
updatedb && locate spandsp
Clear out any remaining spandsp lib parts

get latest version of spandsp and compile: (0.0.6pre17 as of 4/6/2010)
wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre17.tgz
./configure –prefix=/usr && make && make install

get latest version of AGX from svn: (rev 69 from cvs as of 4/6/2010)
svn co https://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons agx-ast-addons

./configure.sh
./build.sh

new module goes into:
/usr/lib/asterisk/modules/app_fax.so
And remove app_rxfax.so and app_txfax.so
Restart asterisk (amportal restart)

This appears to be working (receiving faxes) via on an untrixed version of trixbox 2.6 with asterisk 1.4.22.