Difference between revisions of "IAXModem with Sail and HylaFax"

From SME Server
Jump to navigationJump to search
Line 15: Line 15:
 
In ''Global Settings''
 
In ''Global Settings''
 
*Make sure that 'Late Termination' is set to No.
 
*Make sure that 'Late Termination' is set to No.
*Make sure that the 'Autosense FAX Extension' is set to a number you want to use for the Fax. You will need this number later
+
*Make sure that the 'Autosense FAX Extension' is set to a number you want to use for the Fax. You will need this number later.
 
*The 'Fax Delay' setting defaults to 2 seconds. You may need to adjust this later to make sure faxes get detected before asterisk attempts to terminate somewhere other than the FAX.  
 
*The 'Fax Delay' setting defaults to 2 seconds. You may need to adjust this later to make sure faxes get detected before asterisk attempts to terminate somewhere other than the FAX.  
For each of the Trunks under ''Trunklines'' that you want to be able to detect incoming Faxes on, make sure that the 'Fax' detection tick box is ticked
+
For each of the Trunks under ''Trunklines'' that you want to be able to detect incoming Faxes on
 +
*Make sure that the 'Fax' detection tick box is ticked
  
 
===Fax Extension===
 
===Fax Extension===
 +
Create a new Extension with the same number as set in the 'Autosense FAX Extension' as above - or vice versa. The 'Device' should be IAXModem.
 +
{{Note box|We will assume an extension number of 2000, a password (secret) of asterisk and a Display Name of FaxModem}}
 +
Once created check the stanza generally conforms to the following and change as necessary:
 +
[2000]
 +
type=friend
 +
username=FaxModem
 +
secret=asterisk
 +
host=dynamic
 +
qualify=3000
 +
context=internal
 +
callerid="Faxmodem" <2000>
 +
disallow=all
 +
allow=slin
  
 +
==IAXModem==
 +
{{Note|Sail installs /etc/rc.d/rc7.d/S93iaxmodem but does not install /etc/rc.d/init.d/iaxmodem}}
  
 
----
 
----

Revision as of 21:04, 15 January 2010

Incomplete.png Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page


Introduction

This Howto is aimed at the installation of IAXModem in conjunction with SAIL/asterisk and Hylafax in order to provide a fax over VOIP solution. It is based on information from various forum posts including:

http://forums.contribs.org/index.php/topic,39258.msg179460.html

http://forums.contribs.org/index.php/topic,41256.msg219493.html


Important.png Note:
This has only been tested with Asterisk 1.4.25.1-78, Sail 2.4.1-2 and the Hylafax Contrib from Dungog smeserver-hylafax-0.9.6 with hylafax-4.4.4-1

No other asterisk implementations have been used or tested. It is assumed that you have a working Sail/asterisk installation


Sail and Asterisk Setup

General

In Global Settings

  • Make sure that 'Late Termination' is set to No.
  • Make sure that the 'Autosense FAX Extension' is set to a number you want to use for the Fax. You will need this number later.
  • The 'Fax Delay' setting defaults to 2 seconds. You may need to adjust this later to make sure faxes get detected before asterisk attempts to terminate somewhere other than the FAX.

For each of the Trunks under Trunklines that you want to be able to detect incoming Faxes on

  • Make sure that the 'Fax' detection tick box is ticked

Fax Extension

Create a new Extension with the same number as set in the 'Autosense FAX Extension' as above - or vice versa. The 'Device' should be IAXModem.

Important.png Note:
We will assume an extension number of 2000, a password (secret) of asterisk and a Display Name of FaxModem


Once created check the stanza generally conforms to the following and change as necessary:

[2000]
type=friend
username=FaxModem
secret=asterisk
host=dynamic
qualify=3000
context=internal
callerid="Faxmodem" <2000>
disallow=all
allow=slin

IAXModem

Template:Note