James,<div><br></div><div>That is amazing details. I can use all of this. Thank you for sharing.</div><div><br></div><div>I am assuming you installed res_fax from repository?</div><div><b>yum install asterisk18-res_fax_digium.i386</b><br>


<br>And how did you install SpanDSP? Is there a guide you used?</div><div><br></div><div>I am aiming for multi-channels fax so the digium one won&#39;t do for me as it&#39;s one channel limit like you mentioned. I probably don&#39;t need T.38 but hey it won&#39;t hurt to have it.</div>


<div><br></div><div>Thanks again,</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, May 4, 2012 at 12:37 AM, James Sharp <span dir="ltr">&lt;<a href="mailto:james@fivecats.org" target="_blank">james@fivecats.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 5/3/12 9:16 PM, Bruce B wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Lee,<br>
<br>
Much appreciated for the input.<br>
<br>
I am running all VoIP. SIP and IAX2 to our ITSPs. Please elaborate on<br>
HylaFax and IAXmodems. Is there a guide posted on to get it running, or<br>
is it part of the repository? Once installed how would one send .pdf as fax?<br>
</blockquote>
<br></div>
You can either use the &quot;Free Fax for Asterisk&quot; single channel at a time fax system or &quot;app_fax&quot; that uses the SpanDSP library.  I&#39;m working on a similar system myself that uses the SpanDSP system because I could never get FFFA to talk T.38 right to my provider (Gafachi).<br>



<br>
I use spoolfiles to create a call that lands in my dialplan and from there, I can pick up the fax results in the dialplan.<br>
<br>
<br>
Here&#39;s my callfile<br>
<br>
Channel: SIP/<a href="tel:18888771655" value="+18888771655" target="_blank">18888771655</a>@gafachi1a<br>
CallerID: <a href="tel:18005551212" value="+18005551212" target="_blank">18005551212</a><br>
MaxRetries: 0<br>
RetryTime: 60<br>
WaitTime: 30<br>
Context: faxout<br>
Extension: 5<br>
Priority: 1<br>
<br>
<br>
And my extensions file<br>
<br>
[faxout]<br>
exten =&gt; 5,1,SendFAX(/tmp/test.tiff,a)<br>
exten =&gt; 5,n,Noop(${LOCALSTATIONID});<br>
exten =&gt; 5,n,Noop(${LOCALHEADERINFO});<br>
exten =&gt; 5,n,Noop(${FAXSTATUS});<br>
exten =&gt; 5,n,Noop(${FAXERROR});<br>
exten =&gt; 5,n,Noop(${REMOTESTATIONID});<br>
exten =&gt; 5,n,Noop(${FAXPAGES});<br>
exten =&gt; 5,n,Noop(${FAXBITRATE});<br>
exten =&gt; 5,n,Noop(${FAXRESOLUTION});<br>
<br>
Note that I use the &quot;a&quot; option in SendFAX.  That makes it change behaviors on negotiating things like T.38.  It was needed for my provider, but it may not be needed for yours.  You may or may not need/even have access to T.38 faxing.<br>



<br>
<br>
<br>
You will have to convert the PDF to a TIFF file before you can send it with either Fax subsystem.<br>
<br>
gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter -sOutputFile=/tmp/test.tiff test.pdf<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div><br></div>