Implementing a Faxserver with berofix and hylafax under Linux

From berofix - professional SIP gateway

Jump to: navigation, search

To implement a Faxserver with beroFix you require some software components:

1. t38modem (with ptlib and opal) 2. hylafax

t38modem needs to be compiled from source, hylafax can be used from the distribution packages.

t38modem

Under Debian based systems (Ubuntu also) you can install packages via apt-get, then you need at least the following packages:

apt-get install g++
apt-get install flex
apt-get install bison
apt-get install libexpat1-dev

Now you need to checkout the sources from cvs:

cd /root
cvs -z9 -d :pserver:anonymous@openh323.cvs.sourceforge.net:/cvsroot/openh323 co ptlib_unix
cvs -z9 -d :pserver:anonymous@openh323.cvs.sourceforge.net:/cvsroot/openh323 co -D "5/21/2007 23:59:59" opal
cvs -z9 -d :pserver:anonymous@openh323.cvs.sourceforge.net:/cvsroot/openh323 co t38modem

Now we configure and compile pwlib:

cd /root/pwlib
./configure
make
make install

Now we configure and compile opal:

cd /root/opal
rm -r /root/opal/plugins/video
./configure --disable-ivr
make
make install
ldconfig


Finally you need to compile t38modem:

cd /root/t38modem
make USE_OPAL=1 opt
make USE_OPAL=1 install


If you're beroFix hast the IP 10.0.0.102, then you can start t38modem with:

t38modem --no-h323 -n --ptty /dev/ttyx0 --route 'modem:.*=sip:<dn>@10.0.0.102' --route 'sip:.*=modem:<dn>' --sip-redundancy 3 --sip-old-asn --sip-listen 10.0.0.1:5061
Personal tools