<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal style='text-align:justify'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello;<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    Just taking a quick glance at it, I think you have a syntax error in your dial plan. Instead of </span><tt><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d, shouldn't it be ReceiveFax(${FAXDEST}/${tempfax}.tiff,fd) with no comma between the f and d options?<o:p></o:p></span></tt></p><p class=MsoNormal style='text-align:justify'><tt><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards;<o:p></o:p></span></tt></p><p class=MsoNormal style='text-align:justify'><tt><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John</span></tt><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Dumitru<br><b>Sent:</b> Monday, August 11, 2014 9:39 AM<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> [asterisk-users] Sending and receiving fax with Digium FFA<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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 <span style='font-family:"Courier New"'>fax show capabilities </span>is:<br><tt><span style='font-size:10.0pt'>    Registered FAX Technology Modules:</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>    Type            : DIGIUM</tt><br><tt>    Description     : Digium FAX Driver</tt><br><tt>    Capabilities    : SEND RECEIVE T.38 G.711 MULTI-DOC</tt><br><br><tt>    1 registered modules</tt><br></span><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><span style='font-size:10.0pt'>    exten => recvfax,1,Verbose(2,Receiving fax)</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>        same => n,Set(FAXDEST=/tmp/fax)</tt><br><tt>        same => n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})</tt><br><tt>        same => n,Wait(8)</tt><br><tt>        same => n,ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d)</tt><br></span>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><span style='font-size:10.0pt'>exten => sendfax,1,Verbose(2,Sending fax)</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>    same => n,Set(faxlocation=/tmp)</tt><br><tt>    same => n,Set(faxfile=fax.tiff)</tt><br><tt>    same => n,Set(FAXOPT(headerinfo)=Testing FAX)</tt><br><tt>    same => n,Set(FAXOPT(localstationid)=123456)</tt><br><tt>    same => n,SendFax(${faxlocation}/${faxfile},d)</tt><br><tt>    same => n,Verbose(2, Fax Status: ${FAXOPT(error)})</tt></span><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.<o:p></o:p></p></div></body></html>