Koozali.org: home of the SME Server

Hylafax Howto?

Offline del

  • *
  • 765
  • +0/-0
Hylafax Howto?
« 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
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Hylafax Howto?
« Reply #1 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

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Hylafax Howto?
« Reply #2 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)

In life, you must either "Push, Pull or Get out of the way!"