Koozali.org: home of the SME Server

Asterisk + HylaFAX ?

Offline calisun

  • *
  • 620
  • +0/-1
Asterisk + HylaFAX ?
« on: December 06, 2008, 04:20:47 AM »
I know that there is a Asterisk contrib for voice calls and HylaFAX contrib for faxes.

Is there a way to have one machine to handle both voice and fax from one phone line?

Most people don't use fax any more, all documents are emailed, but there are still few people that insist on faxing things over. So I don't want to get an additional line just for fax that will be rarely used.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: Asterisk + HylaFAX ?
« Reply #1 on: December 06, 2008, 05:47:46 AM »
not knowing what interfaces you are working with, the simple answer would be to have the incoming call routed to an analogue station interface (ONS or FXS) and then have that line connected to the input of your fax/modem.

If you are on digital or SIP you can route based on DID/DDI

If you are trying to share an analogue line then you could do any of the following (at least):
1) route based on distinctive ring
2) twin the call to ring your internal number and also your analogue port and have the fax pick up based on distinctive ring
3) set the faxmodem to pick up after say 4 rings.
4) If you have some form of vmail or auto attendant then you could forward based on Fax 2200Hz tone detection.

I use commercial products primarily which can do all of the above. For asterisk I think it can do option (2) by twinning (aka dual forking) as long as it also transport the ring pattern.

Worse comes to worse you can do a variant of (2) where you bridge tap ahead of the analogue port going into the asterisk Media gateway and faxmodem in parallel. the only issue of course is if the faxmodem picks it up, asterisks can't track the call as it could only see it as an abandoned incoming call. This could lead to side effects which you may or may not care about such as thinking the line is free, no BLF, etc...

« Last Edit: December 06, 2008, 06:04:02 AM by christian »
SME since 2003