Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: del on October 30, 2008, 02:29:47 PM

Title: Hylafax Howto?
Post by: del on October 30, 2008, 02:29:47 PM
Hi All,

Is there an how to for Hylafax and IAXmodem, I see that there is an ext in SAIL called IAXmodem and one called IAXcomm, what is the difference? I did a search and came up with a few threads on Hylafax and on IAXmodem, but nothing conclusive. As usual any help is appreciated  :-)

Del
Title: Re: Hylafax Howto?
Post by: SARK devs on October 31, 2008, 12:29:45 AM
We got Hylafax running a few releases ago, purely as an alpha test.  Almost all of our customers use an Exchange server equivalent that just works so we didn't really put any more resource in.

If you really want to run Hyla then I would suggest you run it on a separate machine and push DDI FAX at it from SARK (spa-2102 works well for this and its cheaper than a Digium board) or, if you have analogue fax, just bypass SARK altogether.   Asterisk takes a short lifetime to detect fax tones so a shared phone/fax line does not work well in practice.

Best

S
Title: Re: Hylafax Howto?
Post by: pfloor on October 31, 2008, 06:34:29 AM
Hi All,

Is there an how to for Hylafax and IAXmodem, I see that there is an ext in SAIL called IAXmodem and one called IAXcomm, what is the difference? I did a search and came up with a few threads on Hylafax and on IAXmodem, but nothing conclusive. As usual any help is appreciated  :-)

Del
If you have a dedicated fax line already connected via a Digium card, it works very, very well.  As selintra points out however, if you are trying to use Asterisk's fax detection, don't bother...It isn't worth the code it was written with.  Here are some install/config (from scratch) pointers.

Code: [Select]
Install hylafax and iaxmodem

touch /var/log/iaxmodem/ttyIAX0

Copy and configure /etc/iaxmodem/config file and name ttyIAX0

mv /etc/cron.daily/hylafax /etc/cron.weekly/

mkdir -p /etc/e-smith/templates-custom/etc/inittab

echo "iax0:23457:respawn:/usr/sbin/iaxmodem ttyIAX0
mo1:23457:respawn:/usr/sbin/faxgetty ttyIAX0" > /etc/e-smith/templates-custom/etc/inittab/S85hylafax

/sbin/e-smith/expand-template /etc/inittab
/sbin/init q

ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S92hylafax

faxsetup

ANSWER YES TO "do you wan to run faxaddmodem"

Edit  /etc/hylafax/etc/FaxDispatch (to route your faxes correctly)