<div dir="ltr">I am facing a bizarre behavior while trying to send fax from zoiper to freeswitch. <div><br><div>First, i tried to use the dialplan example as shown in documentation page.</div><div><br></div><div><extension name="fax_receive"></div><div>  <condition field="destination_number" expression="^9978$"></div><div>    <action application="answer" /></div><div>    <action application="playback" data="silence_stream://2000"/></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="rxfax" data="/tmp/FAX-${uuid}.tif"/></div><div>    <action application="hangup"/></div><div>  </condition></div><div></extension> </div><div><br></div><div>But this resulted in "488 Not Acceptable Here" even though i have set fax_enable_t38 in vars.xml</div><div>Logs. </div><div><b><a href="https://pastebin.freeswitch.org/view/07224882">https://pastebin.freeswitch.org/view/07224882</a></b><br></div><div><br></div><div>Second, But i remove few lines from dialplan. </div><div><br><div><extension name="fax_receive"></div><div>  <condition field="destination_number" expression="^9978$"></div><div>    <action application="answer" /></div><div>    <action application="rxfax" data="/tmp/FAX-${uuid}.tif"/></div><div>    <action application="hangup"/></div><div>  </condition></div><div></extension></div><div><br></div><div>Everything seems to work perfectly. </div><div><br></div><div>Third. When i insert a small lua script after answer in above dialplan it again fails with 488. </div><div><br></div><div><br></div><div><div><extension name="fax_receive"></div><div>  <condition field="destination_number" expression="^9978$"></div><div>    <action application="answer" /></div><div> <action application="lua" data="jack.lua"/><br></div><div>    <action application="rxfax" data="/tmp/FAX-${uuid}.tif"/></div><div>    <action application="hangup"/></div><div>  </condition></div><div></extension></div></div><div><br></div><div>I just want to run a small lua script before i call rxfax application. </div><div>Any help would be much appreciated. <br></div><div><br></div><div>Best Regards.</div><br></div><div><br></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>