<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello. <br>
I've been trying to setup Free Fax for Asterisk on a Debian machine
with Asterisk 1.8. I have managed to register and installed the
Digium modules. Sending and receiving through it have resulted in
failure. The output of <font face="monospace">fax show capabilities
</font>is:<br>
<tt> </tt><tt>Registered FAX Technology Modules:<br>
<br>
Type : DIGIUM<br>
Description : Digium FAX Driver<br>
Capabilities : SEND RECEIVE T.38 G.711 MULTI-DOC<br>
<br>
1 registered modules<br>
</tt><br>
We have a fax blackbox through which I'm trying to send faxes to
the Asterisk server. Every time that I send a fax I get a timeout
error. Been tinkering with the settings and whatnot to get it
working.<br>
<br>
<br>
<br>
The extension to receive fax:<br>
<tt> </tt><tt>exten => recvfax,1,Verbose(2,Receiving fax)</tt><tt><br>
</tt><tt> same => n,Set(FAXDEST=/tmp/fax)</tt><tt><br>
</tt><tt> same =>
n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})</tt><tt><br>
</tt><tt> </tt><tt> same => n,Wait(8)</tt><tt><br>
</tt><tt> same =>
n,ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d)</tt><tt><br>
</tt>It's without most of the tinkering I've done, which are:
setting ecm to no, tweaking the min/max rate and other things.<br>
<br>
Also, because the fax machine can't print (half broken), we receive
our faxes through a fax to email service we have subscribed to, so
the tests for sending have that one as a destination. <br>
<br>
The extension to send fax:<br>
<tt>exten => sendfax,1,Verbose(2,Sending fax)</tt><tt><br>
</tt><tt> same => n,Set(faxlocation=/tmp)</tt><tt><br>
</tt><tt> same => n,Set(faxfile=fax.tiff)</tt><tt><br>
</tt><tt> same => n,Set(FAXOPT(headerinfo)=Testing FAX)</tt><tt><br>
</tt><tt> same => n,Set(FAXOPT(localstationid)=123456)</tt><tt><br>
</tt><tt> same => n,SendFax(${faxlocation}/${faxfile},d)</tt><tt><br>
</tt><tt> same => n,Verbose(2, Fax Status: ${FAXOPT(error)})</tt><br>
I did the exact same thing, and tried sending from both a SIP
channel and a DAHDI line. The weird thing is that when I am sending
through Asterisk I get, as a response to fax, a recorded message
from the telco. Sending through the same line with the fax machine
works perfectly.<br>
<br>
Any advice and help is welcome.<br>
</body>
</html>