AsterFax the Email to Fax Gateway for Asterisk.
---------------   We have moved -----------------

AsterFax and Asterisk IT have both been renamed.

Asterfax is now known as Noojee Fax

Asterisk IT is now known as Noojee Telephony Solutions.

Noojee Fax documentation and support can now be obtained via:

---------------   We have moved -----------------

Asterisk IT is the primary developer and sponsor of AsterFax the Open Source Email to Fax Gateway for Asterisk.
Asterisk I.T. offer a range of support options for AsterFax as well as general Asterisk consulting services.  Contact for more information.
You can also receive support from the Asterfax and Asterisk communities by by posting at the relevant forum.

AsterFax - Asterisk Fax Logo

AsterFax user guide

The AsterFax user guide is intended for people who use Asterfax to send faxes on a daily basis.

If you are looking for notes on how to configure AsterFax refer to the document Configuring AsterFax.

AsterFax enables you to send a fax using any email application such as:
  • Outlook
  • Outlook Express
  • Thunderbird
  • Eudora
  • Any other email application

AsterFax doesn't need to know wha email application (often referered to in this document as an email client) you are using and as such will work with absolutely any email application.

Depending on how your system administrator has configured AsterFax you may need to make some minor configuration changes to your email client. Your system administrator will provide you with the necessary details. If you are the system administrator you can read the notes on configuring email clients for details.

Faxing a single page

The easiest way to send a simple single page fax is to compose an email as you would normally do using your favourite email client. Once you have finished the document simply enter the destination phone number in the 'To' field of the email.
When entering the destination phone number you must used the following format:


Where <phonenumber> is the phone number of the intended recipient.


Notice that the phonenumber contains no spaces, and may only be composed of digits. If you are trying to fax using a phoneword (such as 1800-PIZZA) then you must translate the letters into the appropriate digits.

Finally click the 'Send' button.

The fax will be transmitted shortly and once complete you will recieve a delivery reciept in your email inbox.

Previewing a fax

Often when sending a fax you will want to preview it before transmitting the fax to the recipient. AsterFax offers a simple way of doing this.
Compose you email message as normal except when you come to entering the phone number in the 'To' field enter the word 'preview' instead:

e.g. preview@fax.local

Finally click the 'Send' button.

In a couple of seconds a preview of the fax will be sent to your email clients inbox. The preview will be attached as a tiff file which you can view with any tiff viewer.

If you are satisfied with the preview then reopen the original email from your sent folder and re-send it using the intended recipients phone number in the 'To' field.

Faxing to multiple recipients

AsterFax is able to send a single fax message to multiple recipients in the same way that you can send an email to multiple recipients.
Just add the list of recipients in the 'To' field.
You can also use the CC and BCC fields however all faxes sent as if you had BCC'ed them, in that the list of recipients is never printed on the fax. Each fax is individually address with no other recipient details displayed.

Faxing an attachment

As well as sending a single page fax you can also fax a document (e.g. MS-Word file).
Compose your fax as per the notes on faxing a single page, then simply attach one or more files which need to be faxed.
AsterFax will use the body of the email message as the cover page for your fax and then each attachment will be added to the end of the fax.
For a full list of the supported attachment types look here.

Note: Apart from the cover sheet, which is always sent first, the order in which attachments are sent is not defined.
It is likely that attachments will be sent in the order that you add them to the email but this behaviour is dependant on you email client.

Faxing from Microsoft Word

You can send a fax directly from Microsoft, its simple.
Compose your Word document as you would normally. Once complete save the document and then select the Send option from the File menu.
Enter the recipients phone number in the standard format e.g. 5551234@fax.local, type a subject line and click send.

Receiving Faxes

In version 1 of AsterFax faxes are initially received by Asterisk and are then processed by AsterFax. In later versions we plan to fully integrate inbound fax handling into AsterFax.
To receive faxes you must configure Asterisk to answer incoming calls and to run RxFax. You do this by adding entries to the /etc/extensions.conf configuration file. Here's a sample:

exten => s,1,Answer()
exten => s,2,AbsoluteTimeout(59)
exten => s,3,Set(FAXFILE=/tmp/incomingfax.tif)
exten => s,4,rxfax(${FAXFILE})
exten => T,1,hangup()

These entries tell Asterisk to do the following:
  1. answer the incoming call
  2. the call must last no longer than 59 seconds
  3. Set a location for the incoming fax to be stored
  4. Run RxFax to receive the incoming fax. RxFax writes the fax to the location set in the previous step.
  5. Hang up the call when done.
AsterFax retrieves the fax and processes it according to configured Fax Routes. See the next section on configuring Fax Routes fro more detail. Basically you can plug handlers into AsterFax that will forward faxes by e-mail or write them to files based on various rules. AsterFax has a DefaultFaxHandler that simply send received faxes to a list of e-mail addresses.

Configuring Fax Routes

You can "route" inbound and outbound faxes to specific e-mail addresses or
file locations based on caller ID or remote station ID. For example, if AsterFax
receives a request to send a fax to 0312345678 it will look in the configuration
files for a configured fax route for that remote station ID. The fax route may
contain an e-mail address and a file location. If an e-mail address is found the
fax is sent to the e-mail address as a TIF attachment. If a file location is found
the TIF is written to the file location.
Similarly for inbound faxes based on caller ID a fax can be sent to a specific e-mail address or stored in some file location.

Configure fax routes by adding a Handlers element to the TxFax or RxFax entry in AsterFax.xml. The Handlers element must contain one or more elements. Each Handler must have one Name and one Arguments element, e.g.


The name element must be the name of a valid handler. AsterFax ships with two handlers as of version 1, other may become available in future. The two handlers are and
DefaultFaxHandler simply send the fax to a list of e-mail addresses. When using this handler enter a comma-separated list of e-mail addresses in the Arguments element.
See Configuring AsterFax for more details on using fax handlers.

AsterFax UserGuide
Configuring Email Clients
Supported File Formats
Installing AsterFax
Configuring AsterFax
Testing AsterFax
Trouble Shooting AsterFax
Running AsterFax
Configuring SendMail
Configuring GhostScript
Configuring OpenOffice
Add your own File format

AsterFax is Sponsored by Asterisk I.T.
©2006  Asterisk I.T. all rights reserved. Some parts of this site may be the copyright of other authors. If you want to copy parts of this page you may do so provided you have gained permission from Asterisk I.T. first. Email
AsterFax™ is a trade mark of Asterisk I.T..
I'm not a great believer in Trade Marking Open Source software but unfortunately someone has been running a scam to redirect traffic to a bogus AsterFax web site. As such I've trade marked AsterFax's name to provide protection from such people.