Hi Guys,<br>i am using the latest version of asterisk 1.4 (1.4.33.1), dahdi (2.3.0.1) and FFA (Applications: 1.4_1.2.0, Digium FAX Driver: 1.4_1.2.0). the issue i'm having is that i'm able to receive faxes from a website (that offer this service) but not able to receive from a regular fax machine (that is working perfect).<br>
<br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cjflores%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cjflores%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cjflores%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:1;
        mso-generic-font-family:roman;
        mso-font-format:other;
        mso-font-pitch:variable;
        mso-font-signature:0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1073750139 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-size:10.0pt;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<p class="MsoNormal">[fax-rx]</p>
<p class="MsoNormal">exten => receive,1,NoOp(**** FAX RECEIVE ****) exten
=> receive,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten =>
receive,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})</p>
<p class="MsoNormal">exten =>
receive,n,Set(FAXFILE=${STRFTIME(${EPOCH},GMT-5,%F_%T_${CALLERIDNUM})}.tif)</p>
<p class="MsoNormal">exten =>
receive,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},GMT-5,%F_%T_${CALLERIDNUM})})</p>
<p class="MsoNormal">exten => receive,n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)})</p>
<p class="MsoNormal">exten =>
receive,n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)})</p>
<p class="MsoNormal">exten => receive,n,NoOp(**** SETTING FAXOPT ****) exten
=> receive,n,Set(FAXOPT(ecm)=yes) exten =>
receive,n,Set(FAXOPT(headerinfo)=MY FAXBACK RX) exten => receive,n,Set(FAXOPT(localstationid)=15184893772)</p>
<p class="MsoNormal">exten => receive,n,Set(FAXOPT(maxrate)=14400)</p>
<p class="MsoNormal">exten => receive,n,Set(FAXOPT(minrate)=2400)</p>
<p class="MsoNormal">exten => receive,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})
exten => receive,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten =>
receive,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)}) exten =>
receive,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten =>
receive,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten =>
receive,n,NoOp(**** RECEIVING FAX : ${FAXFILE} ****) exten =>
receive,n,ReceiveFAX(/var/spool/asterisk/fax/${FAXFILE})</p>
<p class="MsoNormal">exten => receive,n,System('/usr/local/bin/fax2mail -p -f
"${FAXFILENOEXT}" --cid-number ${CALLERID(num)} --cid-name
"${CALLERID(name)}" --dest-name "Sir/Madam"')</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">a previous debugging showed:</p><p class="MsoNormal"><br></p>
<p class="MsoNormal"><b>- for a fax from <a href="http://myfax.com">myfax.com</a> that was received successfully:</b></p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>> Channel
'DAHDI/1-1' fax session '53', [ 034.021683 ], channel sent 59 frames (1180 ms)
of energy.</p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel
'DAHDI/1-1' fax session '53', [ 040.489601 ], STAT_EVT_HW_CLOSE<span style=""> </span>st: WT_HW_CLS<span style=""> </span>rt: WCLSNCLS</p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel
'DAHDI/1-1' fax session '53', [ 040.489798 ], STAT_SES_COMPLETE</p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel
'DAHDI/1-1' fax session '53' is complete, result: 'SUCCESS' (FAX_SUCCESS),
error: 'NO_ERROR', pages: 2, resolution: '204x196', transfer rate: '14400',
remoteSID: 'FAX'</p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Executing
[receive@fax-rx:21] System("DAHDI/1-1", "/usr/local/bin/fax2mail
-p -f "/var/spool/asterisk/fax/2010-05-18_03:59:42_"
--cid-number<span style=""> </span>--cid-name ""
--dest-name "Sir/Madam"") in new stack</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>== Auto fallthrough,
channel 'DAHDI/1-1' status is 'UNKNOWN'</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Hungup
'DAHDI/1-1'</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">-<b> for a fax from regular machine that failed:</b></p><p class="MsoNormal"><b><br></b></p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>> Channel 'DAHDI/1-1'
fax session '54', [ 032.782251 ], channel sent 3 frames (60 ms) of energy.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel 0/1,
span 1 got hangup request, cause 16</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal">[May 17 19:02:41] NOTICE[1316]: res_fax.c:993
generic_fax_exec: Channel 'DAHDI/1-1' did not return a frame; probably hung up.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel
'DAHDI/1-1' fax session '54', [ 038.131701 ], STAT_EVT_HW_CLOSE<span style=""> </span>st: WT_HW_CLS<span style=""> </span>rt: WCLSNCLS</p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel
'DAHDI/1-1' fax session '54', [ 038.131879 ], STAT_SES_COMPLETE</p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Channel
'DAHDI/1-1' fax session '54' is complete, result: 'SUCCESS' (FAX_SUCCESS),
error: 'NO_ERROR', pages: 1, resolution: '204x196', transfer rate: '14400',
remoteSID: '518 489 3772'</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>== Spawn extension
(fax-rx, receive, 20) exited non-zero on 'DAHDI/1-1'</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">pbx1*CLI> </p>
<p class="MsoNormal"><span style=""> </span>-- Hungup
'DAHDI/1-1'</p>
<p class="MsoNormal"> </p>I would really appreciate any help! thanks!<br clear="all"><br>-- <br>Abdullah<br>