<div dir="ltr">Hi
<span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(224,234,243);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>i want to send fax by loopback to my self ... here is my configurations of fax in dialplan :</span><div><font color="#333333" face="Helvetica Neue, Helvetica, Arial, sans-serif"><div><span style="font-size:14px"><extension name="fax_detect"></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span> <condition field="destination_number" expression="^2010$"></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="answer" /></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="set" data="transfer_ringback=${us-ring}"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="spandsp_start_fax_detect" data="transfer '9978 XML default' 6"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="bridge" data="user/$1@${domain_name}"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span> </condition></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span></extension></span></div><div><span style="white-space:pre;font-size:14px"> </span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><extension name="fax_receive"></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><condition field="destination_number" expression="^9978$"></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="answer" /></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="playback" data="silence_stream://2000"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="set" data="fax_enable_t38_request=true"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="set" data="fax_enable_t38=true"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="rxfax" data="$${base_dir}/faxes/${uuid}.tif"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="hangup"/></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span></condition></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span></extension></span></div><div><span style="white-space:pre;font-size:14px"> </span></div><div><span style="font-size:14px"> <extension name="fax_transmit"></span></div><div><span style="font-size:14px"> <condition field="destination_number" expression="^9179$"></span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="txfax" data="$${base_dir}/txfax.tif"/> </span></div><div><span style="font-size:14px"><span style="white-space:pre"> </span><action application="hangup"/></span></div><div><span style="font-size:14px"> </condition></span></div><div><span style="font-size:14px"> </extension></span></div><div><span style="white-space:pre;font-size:14px"> </span></div><div>after configuring these i want to send a fax file by loopback </div><div>in fs_cli i run this command:</div><div>originate loopback/9978 (/tmp/test.tif)</div><div><br></div><div>but i just get this error:
<span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(224,234,243);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">cannot send non-existant fax file</span>
<span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(224,234,243);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">. but my fax file is there already.</span></div><div><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(224,234,243);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:14px;background-color:rgb(224,234,243)">is my loopback sending correct ?</span></div><div><span style="font-size:14px;background-color:rgb(224,234,243)">am i right that every fax files which received will be saved in this directory (
<span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">$${base_dir}/faxes/${uuid}.tif)?</span></span></div><div><br></div></font>
<div><br></div></div></div>