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't do for me as it's one channel limit like you mentioned. I probably don't need T.38 but hey it won'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"><<a href="mailto:james@fivecats.org" target="_blank">james@fivecats.org</a>></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 "Free Fax for Asterisk" single channel at a time fax system or "app_fax" that uses the SpanDSP library. I'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'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 => 5,1,SendFAX(/tmp/test.tiff,a)<br>
exten => 5,n,Noop(${LOCALSTATIONID});<br>
exten => 5,n,Noop(${LOCALHEADERINFO});<br>
exten => 5,n,Noop(${FAXSTATUS});<br>
exten => 5,n,Noop(${FAXERROR});<br>
exten => 5,n,Noop(${REMOTESTATIONID});<br>
exten => 5,n,Noop(${FAXPAGES});<br>
exten => 5,n,Noop(${FAXBITRATE});<br>
exten => 5,n,Noop(${FAXRESOLUTION});<br>
<br>
Note that I use the "a" 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>