Kevin,<br><br>I rolled back clean my virtual asterisk testbed and instead of libspandsp2 and libspandsp-dev, I installed libtiff4 - libtiff4-dev and downloaded/compiled spandsp 0.0.6, then I fixed the libraries with<br><br>
<p dir="ltr" style="margin-left:36pt;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:12px;background-color:transparent;text-decoration:none;font-family:Courier New;font-weight:normal">echo "/usr/local/lib" > /etc/ld.so.conf.d/spandsp.conf</span><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:15px;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal"></span></p>
<p dir="ltr" style="margin-left:36pt;margin-top:0pt;margin-bottom:0pt"><br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">cuz it wasn't able to load the module at all. Now it does but still can't see any reference to gateway support.</p>
<p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt"><br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">Installed Asterisk 10 package, ./configure proves good spandsp support:</p>
<p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt"><br></p><div style="margin-left:40px;font-family:courier new,monospace">checking for minimum version of SpanDSP... yes<br>checking for span_set_message_handler in -lspandsp... yes<br>
checking spandsp.h usability... yes<br>checking spandsp.h presence... yes<br>checking for spandsp.h... yes<br>checking for t38_terminal_init in -lspandsp... yes<br>checking for spandsp.h... (cached) yes<br></div><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">
<br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">I decided to give 10.0 a try since res_fax_spandsp is included in the native code right? (if that even has any sense). It now shows:</p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">
<br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">CLI> fax show capabilities <br><br>Registered FAX Technology Modules:<br><br>Type : Spandsp<br>Description : Spandsp FAX Driver<br>
Capabilities : SEND RECEIVE T.38 G.711 GATEWAY<br><br>1 registered modules<br><br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">I would consider this one solved but could you please throw some insight as to why 1.8.8.0 and 1.8.7.1 fail to build the gateway support?</p>
<p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt"><br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">Thanks again,<br></p><p dir="ltr" style="margin-left:6.24pt;margin-top:0pt;margin-bottom:0pt">
<br></p><p dir="ltr" style="margin-left:36pt;margin-top:0pt;margin-bottom:0pt">
<span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:15px;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal"></span></p> <b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"><font><font><span style="font-family:verdana,sans-serif"><span style="font-family:trebuchet ms,sans-serif"><span style="font-family:verdana,sans-serif">José Pablo Méndez</span></span></span></font><br>
</font></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><br>
<br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 10:04 AM, Kevin P. Fleming <span dir="ltr"><<a href="mailto:kpfleming@digium.com" target="_blank">kpfleming@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 01/05/2012 01:03 AM, José Pablo Méndez Soto wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Trying to set up res_fax_spandsp. Based on<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/T.38+Fax+Gateway" target="_blank">https://wiki.asterisk.org/<u></u>wiki/display/AST/T.38+Fax+<u></u>Gateway</a> I wrote this<br>
in my extensions.conf:<br>
<br>
exten => 306,1,NoOp(Fax transmission)<br>
same => n,Set(FAXOPT(gateway)=yes)<br>
same => n,Dial(DAHDI/3) ----->FXS port to fax machine<br>
same => n,Hangup()<br>
<br>
Call flow Im trying to pull out is as follows:<br>
<br>
Zoiper --> Asterisk with TDM410 --> FXS --> Analog fax machine<br>
<br>
I am totally lost about the use of this new gateway module in the<br>
dialplan. I think it loads ok:<br>
<br>
CLI> fax show capabilities<br>
<br>
Registered FAX Technology Modules:<br>
<br>
Type : Spandsp<br>
Description : Spandsp FAX Driver<br>
Capabilities : SEND RECEIVE T.38 G.711<br>
</blockquote>
<br></div>
Your res_fax_spandsp module was built without gateway support; what version of Asterisk are you using?</blockquote></div>