<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">
<ul>
<li><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;">On 01/24/2011 2:54PM Bryant Zimmerman wrote
<li></li>
</span></li>
<li></li>
<li></li>
<li><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">I am testing out inbound faxing using res_fax and res_fax_spandsp.so
<li>My system answers the call but then sets there on the ReseiveFax line then comes back with an error that it exceeded the maximum retries. </li>
<li>How would I go about debugging this? Below is my very simple dialplan code I am using, and the fax show version gives the following as well. </li>
<li>FAX For Asterisk Components: </li>
<li> Applications: SVN-branch-1.8-r297535M </li>
<li> Spandsp FAX Driver: 20110122 075024 </li>
<li><span lang="EN">
<p>[fax_inbound]</p>
<li><span style="font-family: courier new; font-size: 10px;">exten => </span><span style="font-size: 10px;">ProcessFax</span><span style="font-family: courier new; font-size: 10px;">,1,Answer()
<li>exten => ProcessFax,n,Wait(2) </li>
<li>exten => ProcessFax,n,Set(TIFF=/var/spool/fax_in/fax_${STRFTIME(,,%Y%m%d-%H%M)}_${RAND(1)}.tiff) </li>
<li>exten => ProcessFax,n,ReceiveFAX(${TIFF} </li>
</span></li>
<li></li>
<li><span style="font-size: 10px;">,d</span><span style="font-family: courier new; font-size: 10px;">)
<li>exten => ProcessFax,n, </li>
</span></li>
<li></li>
<li><span style="font-size: 10px;">NoOp</span><span style="font-family: courier new; font-size: 10px;">(</span><span style="font-size: 10px;">Error = ${FAXOPT(error)}</span><span style="font-family: courier new; font-size: 10px;">)
<li>exten => ProcessFax,n,NoOp( </li>
</span></li>
<li></li>
<li><span style="font-size: 10px;">Status = </span><span style="font-family: courier new; font-size: 10px;">${FAXOPT(</span><span style="font-size: 10px;">status</span><span style="font-family: courier new; font-size: 10px;">)})
<li>exten => ProcessFax,n,NoOp( </li>
</span></li>
<li></li>
<li><span style="font-size: 10px;">Header = </span><span style="font-family: courier new; font-size: 10px;">${FAXOPT(</span><span style="font-size: 10px;">headerinfo</span><span style="font-family: courier new; font-size: 10px;">)})
<li>exten => ProcessFax,n,NoOp( </li>
</span></li>
<li></li>
<li><span style="font-size: 10px;">RemoteID</span><span style="font-family: courier new; font-size: 10px;"> = ${FAXOPT(</span><span style="font-size: 10px;">remotestationid</span><span style="font-family: courier new; font-size: 10px;">)})
<li>exten => ProcessFax,n,NoOp( </li>
</span></li>
<li></li>
<li><span style="font-size: 10px;">Result</span><span style="font-family: courier new; font-size: 10px;"> = ${FAXOPT(</span><span style="font-size: 10px;">statusstr</span><span style="font-family: courier new; font-size: 10px;">)}) </span></li>
</span></li>
<li>
<ul></ul>
<ul>
<li>I can't figure out how to turn on any debuging for this nor can I understand why this should be failing. I am using the spandsp version that Steve recommended (0.0.6pre18) </li>
<li>Any ideas or feedback would be appreciated. </li>
<li>Thanks </li>
<li>Bryant Zimmerman (ZK Tech Inc.) </li>
</ul>
</li>
</span></li>
</ul>
<ul>
<li></li>
</ul>
</span>Ok I got a inbound fax to work with our audiocodes pri gateway but I am having no luck with a number on Level 3.<br />
I did figure out that I can use "fax set debug on/off" and I found that I can add the "fax" keyword in logging.conf to see the fax debugging. The issue now is I am unsure how to figure out the cause of the fail. I have attached a text file with the debug logs.<br />
<br />
The attached file was too large so I am putting in a link to the file. It is a virus free text file.<br />
<a href="http://webmail.zktech.com/public/downloadfile.aspx?f=KERoF6PWf6e2FK8S5zgEDs02rFGdd7zE0AIG7tjbCR9a06oFY1NwFap58zDWva3BcdOp%2b%2f%2fuBo8%3d">Fax Debug.txt</a><br />
<br />
<br />
Thanks for any help.<br />
Bryant Zimmerman (ZK Tech Inc.)<br />
</span><br /></span>