<div dir="ltr">Hi<div>I'm using these 2 extensions for receiving faxes. to receive a fax first call hits "faxin" extension and then is bridged to "dofaxin". I'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 " The call dropped prematurely".</div>
<div><br></div><div><div><extension name="dofaxin"></div><div> <condition field="destination_number" expression="^704$"></div><div> <action application="answer"/></div>
<div> <action application="playback" data="silence_stream://2000"/><br></div><div> <action application="set" data="fax_enable_t38_request=true"/></div><div> <action application="set" data="fax_enable_t38=true"/></div>
<div> <action application="lua" data="lua/applications/fax.lua"/></div><div> <!--action application="rxfax" data="/tmp/shit.tiff"/--></div><div> </condition></div>
<div> </extension></div><div> <extension name="faxin"></div><div> <condition field="destination_number" expression="^705$"></div><div> <action application="bridge" data="loopback/704/public/XML"/> </div>
<div> </condition></div><div> </extension></div></div><div><br></div><div>and the simplified version of file "lua/applications/fax.lua" is:</div><div>...</div><div>session:execute('rxfax','/tmp/test.tiff')<br>
</div><div>....</div><div><br></div><div><br></div></div>