<div dir="ltr">Hi<div>I&#39;m using these 2 extensions for receiving faxes. to receive a fax first call hits &quot;faxin&quot; extension and then is bridged to &quot;dofaxin&quot;. I&#39;m using loopback to be able to handle attended transfers from ivrs that include fax. the problem is if I send a call directly to 704 everything works fine. but if I send it to 705 rxfax (which is the main case)it is not working as expected and after a long waiting rxfax fails with &quot; The call dropped prematurely&quot;.</div>
<div><br></div><div><div>&lt;extension name=&quot;dofaxin&quot;&gt;</div><div>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^704$&quot;&gt;</div><div>       &lt;action application=&quot;answer&quot;/&gt;</div>
<div>       &lt;action application=&quot;playback&quot; data=&quot;silence_stream://2000&quot;/&gt;<br></div><div>       &lt;action application=&quot;set&quot; data=&quot;fax_enable_t38_request=true&quot;/&gt;</div><div>       &lt;action application=&quot;set&quot; data=&quot;fax_enable_t38=true&quot;/&gt;</div>
<div>       &lt;action application=&quot;lua&quot; data=&quot;lua/applications/fax.lua&quot;/&gt;</div><div>      &lt;!--action application=&quot;rxfax&quot; data=&quot;/tmp/shit.tiff&quot;/--&gt;</div><div>     &lt;/condition&gt;</div>
<div>   &lt;/extension&gt;</div><div>   &lt;extension name=&quot;faxin&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^705$&quot;&gt;</div><div>       &lt;action application=&quot;bridge&quot; data=&quot;loopback/704/public/XML&quot;/&gt;    </div>
<div>    &lt;/condition&gt;</div><div>  &lt;/extension&gt;</div></div><div><br></div><div>and the simplified version of file &quot;lua/applications/fax.lua&quot; is:</div><div>...</div><div>session:execute(&#39;rxfax&#39;,&#39;/tmp/test.tiff&#39;)<br>
</div><div>....</div><div><br></div><div><br></div></div>