[asterisk-users] Fax detection ...

phil.dawson at marnock.com phil.dawson at marnock.com
Fri Sep 29 18:11:18 MST 2006


Hi All,

I'm having trouble detecting faxes reliably.  I'm using one analog line for
both voice and fax.  Sometimes this works but a lot of the time it doesn't
and I was wondering if anyone knew why.  This is how I imagined it to work:

Caller calls in and as there is no fax tone asterisk processes the call as
a voice call.
Fax machine calls in, asterisk detects this and sends the call to the fax
extension.

I have eliminated my hylafax from the problems I'm experiencing as the call
isn't getting that far.

My configuration:

pstn ( analog ) --- > Asterisk ( TDM 400P )  --- > Linksys PAP2T-UK  --- >
Modem  --- > Hylafax


Something else I've recently come across is a lot of fax machines wait for
the callee to present a fax tone before it will communicate.  How would I
present a tone from asterisk when someone calls to be able to detect fax or
voice or is this not possible?



extensions.conf

exten => s,1,Answer
exten => s,n,LookupCIDName
exten => s,n,Wait(3)                      ; <-- wait to see if fax  (
should I need this )
exten => s,n,Goto(mainmenu,7,1)                 ; < -- if not fax process
ivr


exten => fax,1,Dial(${PHONES4},40,Ttr)          ; <-- dial our ata with
connected fax machine
exten => fax,n,Hangup()


zapata.conf

faxdetect=incomming



Thanks in advance

Phil



More information about the asterisk-users mailing list