FaxServer using Asterisk
This material is work-in-progress ... This is a experimental page to see if this could replace a more complex setup using Asterisk+IAXmodem+hylafax |
This document aims to create a as simple as possible to setup fax server to send and receive faxes using asterisk and asterisk-fax.
Installation
This wiki-doc is based on Alpine Linux 2.6 (but might also work on version 2.1.3 or higher)
Start by setting up a Alpine Linux base system (you will most likely want to run setup-alpine
to setup the most basic settings)
Firewall
You might want to setup a firewall to protect your system. We will not address this task in this document. Some firewall alternatives in Alpine Linux are
- AWall
- Shorewall
- iptables
Configuring Asterisk
There are multiple ways to configure Asterisk. This document only describes a very basic setup which you might want to modify based on your needs. But by following this document, you should have a fully functional fax-server using only asterisk and asterisk-fax.
Install required packages
At this stage your Alpine Linux only holds some basic packages for base functionallity. We will need to install some extra packages in order to get the fax functionallity.
apk add asterisk asterisk-fax
During this wiki doc, we will use (vim as the tool to create and edit files, so we need to install it (we will remove the
Load appropreate modules
Asterisk needs some modules to be able to handle fax.
- Edit /etc/asterisk/modules.conf
vi /etc/asterisk/modules.conf
- Copy this content to the file
Contents of /etc/asterisk/modules.conf