Hello,<br><br>Trying to set up res_fax_spandsp. Based on <a href="https://wiki.asterisk.org/wiki/display/AST/T.38+Fax+Gateway">https://wiki.asterisk.org/wiki/display/AST/T.38+Fax+Gateway</a> I wrote this in my extensions.conf:<br>
<br><div style="margin-left:40px">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></div>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 dialplan. I think it loads ok:<br>
<br><div style="margin-left:40px">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>
<br>1 registered modules<br><br></div>Also I have the FFA manual, which I couldn't understand. I think FAXOPT is common to both, but still not sure how to put them together. Where can I find documentation about configuring the call flow described?<br>
<br>Or some insight will also be appreciated.<br><br>Here is my sip peer config:<br><br><div style="margin-left:40px">[105](headquarters) ;zoiper phone<br>type=friend<br>secret=<br>mailbox=105@default<br>t38pt_udptl = yes<br>
</div><br>Dahdi:<br><div style="margin-left:40px">;FXS Modules<br>group = 2<br>signalling = fxo_ks<br>context = interno<br>channel = 3-4<br>faxdetect = both<br></div><br>Finally, a verbose output:<br><br><div style="margin-left:40px">
== Using SIP RTP CoS mark 5<br> -- Executing [606@intern:1] NoOp("SIP/105-00000002", "Fax Transmission") in new stack<br> -- Executing [606@intern:2] Set("SIP/105-00000002", "FAXOPT(gateway)=yes") in new stack<br>
[Jan 5 00:59:57] WARNING[1831]: res_fax.c:2783 acf_faxopt_write: channel 'SIP/605-00000002' set FAXOPT(gateway) to 'yes' is unhandled!<br> -- Executing [606@intern:3] Dial("SIP/605-00000002", "DAHDI/3") in new stack<br>
-- Called DAHDI/3<br> -- DAHDI/3-1 is ringing<br> -- DAHDI/3-1 is ringing<br> -- DAHDI/3-1 is ringing<br> -- DAHDI/3-1 answered SIP/605-00000002<br> -- Hanging up on 'DAHDI/3-1'<br> -- Hungup 'DAHDI/3-1'<br>
== Spawn extension (intern, 606, 3) exited non-zero on 'SIP/105-00000002'<br></div><div style="margin-left:40px"><br></div><br><br>Thanks in advance for any help<br><div style="margin-left:40px"><br clear="all">
</div> <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>