Detect incoming fax on PSTN and route to fax machine on DADHI extension?

Home » Asterisk Users » Detect incoming fax on PSTN and route to fax machine on DADHI extension?
Asterisk Users 5 Comments

I’m running an AsteriskNow V1.7.1 with both a PSTN connection and fax
machine. Both are connected to a DAHDI board. I’d like to route
incoming PSTN fax calls to the extension of the fax machine and process
non-fax calls through different dialplan.logic.

What’s the best way to go about doing this? I’ve looked into Fax for
Asterisk, bit I’m not sure that I want it or NVFax detection.

Any pointers to share?

5 thoughts on - Detect incoming fax on PSTN and route to fax machine on DADHI extension?

  • mù:l;:kj,nb hgyuè

    2010/10/16 Frank Tarczynski

    Hi,

    The trouble with using the same DID for both voice and fax calls is with the
    way fax priority seems to function, user experience is a bit rough:
    – user phone is ringing
    channel)

    What is missing here is the possibility to playback a message to end user
    instead of playing a tone.

    If you find a way to work around this, please, do not hesitate to share.

    Regards

  • This is what I do and it works great, as long as what is on the DAHDI
    channel (4 in this example) is just a fax machine or computer with fax
    modem (my case).

  • extensions.conf:

    [incoming]
    exten => fax,1,NoOp(Fax Detected) ;; the fax line
    exten => fax,n,GoTo(incoming-fax,s,1)
    exten => fax,n,Hangup() ;; the fax machine

    exten =>s,1,Answer()
    exten =>s,n,Wait(6)
    exten =>s,n,Dial(${House_Phones},60)
    ……..

    You may still get one or two rings, so don’t run to answer 🙂

    See:

    https://issues.asterisk.org/view.php?id=17064

    sean