<div dir="ltr">If you're using an FXO gateway, use its T.38 feature. In your dialplan, you're using spandsp (e.g. rxfax). They work only with FTDM analog cards e.g. Sangoma, Digium, etc. - I guess.<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, May 29, 2018 at 10:10 AM, Hossein Gholizadeh <span dir="ltr"><<a href="mailto:hggh96.hg@gmail.com" target="_blank">hggh96.hg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi ... i have my gateway on 192.168.30.32 and a phone which connected to gateway 984432250161.<div>I configured them like this : </div><div>1.created a xml file in \conf\sip_profiles\external with name cheap_tel.xml and the content is this :</div><div><div><include></div><div> <gateway name="provider"></div><div> <param name="proxy" value="192.168.30.32"/></div><div> <param name="register" value="false"/></div><div> <param name="caller-id-in-from" value="true"/> <!--Most gateways seem to want this--></div><div> <param name="username" value="not-used"/></div><div> <param name="password" value="not-used"/></div><div> </gateway></div><div></include></div></div><div><br></div><div>2.and in acl.conf added this node : </div><div><div> <node type="allow" cidr="<a href="http://192.168.30.32/32" target="_blank">192.168.30.32/32</a>"/> </div></div><div><br></div><div>is my gateway config right ? because when i want to send a fax file by loopback with this command i have no error but fax is not saved in directory :</div><div>Command ----> originate sofia/gateway/provider/<wbr>984432250161 &txfax(C:/test.tiff)</div><div><br></div><div>And also my dialplan configs for fax is this :</div><div><div> <extension name="fax_detect"></div><div> <condition field="destination_number" expression="^984432250161$"></div><div> <action application="answer" /></div><div> <action application="set" data="transfer_ringback=${us-<wbr>ring}" /></div><div><span style="white-space:pre-wrap"> </span><action application="spandsp_start_<wbr>fax_detect" data="transfer '9978 XML default' 10 ced"/></div><div> <action application="bridge" data="user/$1@${domain_name}" /></div><div> </condition></div><div> </extension></div></div><div><br></div><div><div> <extension name="fax_receive"></div><div><span style="white-space:pre-wrap"> </span> <condition field="destination_number" expression="^9978$"></div><div><span style="white-space:pre-wrap"> </span><action application="answer" /></div><div><span style="white-space:pre-wrap"> </span><action application="playback" data="silence_stream://2000"/></div><div><span style="white-space:pre-wrap"> </span><action application="rxfax" data="$${base_dir}/faxes/${<wbr>uuid}.tif"/></div><div><span style="white-space:pre-wrap"> </span><action application="hangup"/></div><div><span style="white-space:pre-wrap"> </span> </condition></div><div> </extension></div></div><div><br></div><div>Can any one help me? </div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>