• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
Back to Tutorials

8.1. Fax routing with zaptel tmd cards [under construction]

VoIP and faxes, well any reasonable persons says to forget about faxes and start using e-mail. It's been around for quite some time. Unfortunatly, faxes are still wanted. This tutorial will guide you how to set it up in a thrustworthy and budgetfriendly way on Asterisk with a TDM400P card. Many of these concepts can be recycled for other cards.

Incoming faxes

Our setup is one asterisk box, one TDM400P card with a FXO and FXS module, one classic Fax machine and a moderate intelligent Administrator.

First you need your TDM400P card to behave as it should. Let's say you have your fxs device (the one where you would be plugging in your PSTN line) on channel 4 and your fxo (the one where you would be plugging in your fax line) on channel 3.

In /etc/zaptel.conf you make sure you have the following lines:
fxoks=3
fxsks=4


The first line defines you'll be using the third device as a FXO, the second line states you'll use the forth device as a FXS. KS stands for koolstart, this one should do the trick.

Next file in line is zapata.conf. You should find it under /etc/asterisk/zapata.conf. Don't get scared by the huge example file.

We won't cover the zapata specifics, but one thing to point out is the rather specific configuration for every channel. For every channel you need to define above "channel => x" the variables. To allow fax detection you need to add the variable: faxdetect=both, or faxdetect=incoming or faxdetect=outgoing, all depending on your need. It allows you zaptel channel to check if it signal would be a fax signal.

In our example we have the following configuration for our channels:

immediate=no
busydetect=yes
busycount=8
musiconhold=default
faxdetect=both
signalling=fxs_ks
context=sip
channel => 4

immediate=no
busydetect=yes
busycount=8
musiconhold=default
faxdetect=both
signalling=fxo_ks
context=fax
channel => 3


Do note the context 'fax', we'll recycle that in extensions.conf, which is next.

So far, we made sure our card is recognised and can put 'fax'-calls in a 'fax' context.

So we add a three liner to extensions.conf to finalise everything:


[fax]
exten => s,1,Dial(ZAP/4/${EXTEN})


Which means, we added a context fax in the extensions.conf, insuring calls being detected as fax calls to be caught and handled, by the description above. Which is, send it on to the 4th channel.

On that channel you're supposed to connect a fax device. This can be your ordinary fax, or a faxmodem with e.g. hylafax.

 
User Comments
zsfcvgbhfghgfjg (hana19jahan at gmail dot com)
04 February 2024 20:07:58
https://fueler.io/tubetv/diretta-live-juventus-inter-in-diretta-streaming-4-febbraio-2024
https://fueler.io/doveita/ufficiale-inter-juventus-in-diretta-streaming-gratis-serie-a-4-febbraio-2024
https://fueler.io/doveita/direttaliveinter-juventus-in-diretta-streaming-gratis-calcio-5-febbraio-2024
https://fueler.io/doveita/calcio-live-juve-inter-in-diretta-streaming-calcio-4-febbraio-2024
https://fueler.io/tubetv/diretta-at-seriea-inter-juve-in-diretta-streaming-gratis-serie-a-tv-05-02-2024
https://fueler.io/tubetv/diretta-live-juventus-inter-in-diretta-streaming-4-febbraio-2024
https://fueler.io/doveita/ufficiale-inter-juventus-in-diretta-streaming-gratis-serie-a-4-febbraio-2024
https://fueler.io/doveita/direttaliveinter-juventus-in-diretta-streaming-gratis-calcio-5-febbraio-2024
https://fueler.io/doveita/calcio-live-juve-inter-in-diretta-streaming-calcio-4-febbraio-2024
https://fueler.io/tubetv/diretta-at-seriea-inter-juve-in-diretta-streaming-gratis-serie-a-tv-05-02-2024
https://fueler.io/tubetv/diretta-live-juventus-inter-in-diretta-streaming-4-febbraio-2024
https://fueler.io/doveita/ufficiale-inter-juventus-in-diretta-streaming-gratis-serie-a-4-febbraio-2024
https://fueler.io/doveita/direttaliveinter-juventus-in-diretta-streaming-gratis-calcio-5-febbraio-2024
https://fueler.io/doveita/calcio-live-juve-inter-in-diretta-streaming-calcio-4-febbraio-2024
https://fueler.io/tubetv/diretta-at-seriea-inter-juve-in-diretta-streaming-gratis-serie-a-tv-05-02-2024
https://fueler.io/tubetv/diretta-live-juventus-inter-in-diretta-streaming-4-febbraio-2024
https://fueler.io/doveita/ufficiale-inter-juventus-in-diretta-streaming-gratis-serie-a-4-febbraio-2024
https://fueler.io/doveita/direttaliveinter-juventus-in-diretta-streaming-gratis-calcio-5-febbraio-2024
https://fueler.io/doveita/calcio-live-juve-inter-in-diretta-streaming-calcio-4-febbraio-2024
https://fueler.io/tubetv/diretta-at-seriea-inter-juve-in-diretta-streaming-gratis-serie-a-tv-05-02-2024
https://fueler.io/tubetv/diretta-live-juventus-inter-in-diretta-streaming-4-febbraio-2024
https://fueler.io/doveita/ufficiale-inter-juventus-in-diretta-streaming-gratis-serie-a-4-febbraio-2024
https://fueler.io/doveita/direttaliveinter-juventus-in-diretta-streaming-gratis-calcio-5-febbraio-2024
https://fueler.io/doveita/calcio-live-juve-inter-in-diretta-streaming-calcio-4-febbraio-2024
https://fueler.io/tubetv/diretta-at-seriea-inter-juve-in-diretta-streaming-gratis-serie-a-tv-05-02-2024
can you order codeine online (kellyewallner at 0815 dot ru)
08 July 2020 18:53:51
can you order codeine online https://tylenol1st.com/
David Johnson (david at cegtech dot com)
17 October 2008 18:24:14
Thanks, nice description. Question though. I've heard about all sorts of issues with Faxes and Asterisk and devies that only work up to 14.4k, etc... Whats the best device to install so I can have users with full G3 faxing capability on Asterisk (or Trixbox)?
fizz (fetzig at walkthrou dot com)
22 August 2006 11:29:14
Fine for the incoming faxes... but how does it work for outgoing ones? I tried dealing with them like they were normal phone terminals, but it does nothing....
Gavin Henry (ghenry at suretecsystems dot com)
10 June 2006 21:01:33
I think you got your FXO and FXS descriptions mixed up at the beginning.

Nice howto though.

Gavin.
 
Add Comment
Name:
Email:
Comment:
In order to prevent automatic posting on our website, we kindly request you to type in the number you see in the picture below.
Image Verification:
 

Latest Headlines:

  • T.38 faxing with Zoiper 2.15 is now easier than ever
    section: voip software
  • Asterisk 1.4.21 Released
    section: Asterisk
  • Asterisk 1.4.20 Released
    section: Asterisk
  • Asterisk 1.4.20-rc2 Released
    section: Asterisk
  • Asterisk 1.4.20-rc1 Now Available
    section: Asterisk
  • News Archives (older news)

Latest Tutorials:

  • Sending Fax from Zoiper to Zoiper using T.38
    added 08/Dec/2008 18:16
  • VMAuthenticate (dialplan application)
    added 01/Mar/2008 15:57
  • Siptronic ST-530
    added 06/Nov/2007 17:57
  • Siemens C455 IP hardphone
    added 05/Nov/2007 10:24
  • Zoiper
    added 22/Oct/2007 17:53

Latest Comments:

  • https://v4visa.ca/wp-content/uploads/for...
    tutorial: SIP with NAT or Firewalls
  • https://v4visa.ca/wp-content/uploads/for...
    tutorial: SIP with NAT or Firewalls
  • https://sites.google.com/view/british-ai...
    tutorial: SIP with NAT or Firewalls
  • https://aspireeducation.org/wp-content/u...
    tutorial: SIP with NAT or Firewalls
  • Primal Compound Shilajit Gummies Review...
    tutorial: Basic Information
 
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™