Hi. I'm not sure which one is the best between hylafax and hylafax+, anyway, I've installed several times hylafax, asterisk (with smeserver-trixbox) and iaxmodem, and it's working great. Here are the steps:
- configure dungog repo
db yum_repositories set dungog repository \
BaseURL http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/ \
EnableGroups yes \
GPGCheck no \
Name 'SME Server 7 - dungog' \
Visible yes \
status disabled
expand-template /etc/yum.conf
now install hylafax and smeserver-hylafax (you must install it in two time or you'll have an error message saying that two files are in conflict):
yum --enablerepo=dungog install hylafax
yum --enablerepo=dungog install smeserver-hylafax
Now, configure trixbox repo, you'll find an iaxmodem here:
db yum_repositories set trixbox repository BaseURL http://yum.trixbox.org/centos/4/RPMS/ \
EnableGroups yes GPGCheck no Name "trixbox RPM Repository for CentOS and RHEL" Visible yes \
status disabled Exclude "php*,kernel*,dnsmasq,webmin*,tbm*,*rrdtool"
And install iaxmodem
yum --enablerepo=trixbox install iaxmodem
Configure hylafax to use ttyIAX:
db configuration setprop hylafax port ttyIAX
expand-template /etc/inittab
telinit q
Create an IAX2 extension for iaxmodem on your asterisk system (in this example it's extension num 3000 with secret 3000)
and configure iaxmodem to use it (/etc/iaxmodem/iaxmodem-cfg.ttyIAX)
device /dev/ttyIAX
owner uucp:uucp
mode 660
port 4570
refresh 300
server 127.0.0.1
peername 3000
secret 3000
cidname "YOUR COMPANY"
cidnumber __YOUR_PHONE_NUMBER__
codec alaw
Configure hylafax:
faxsetup
And eventually, add iaxmodem to hylafax configuration:
faxaddmodem ttyIAX
answer the question (you can let the default one for most options)
Now you can create a route with a special prefix to force calls to your PSTN line (because fax over VoIP isn't reliable), and add this in /etc/hylafax/etc/config.ttyIAX (in this example, th eprefix is 9)
ModemDialCmd: ATDT9%s
Then, you can configure who receive the faxs in /etc/hylafax/etc/FaxDispatch.
Hope this help.
Cheers, Daniel