<div dir="ltr"><span style="font-size:12.8px">Hi all, </span><div><span style="font-size:12.8px"><br></span><div><span style="font-size:12.8px">I'm currently generating dial out using "ESL with python" and the originate command.</span></div><div><span style="font-size:12.8px">Since some dial out calls are fax I need to classify which of these calls are fax, otherwise I record the ones which are normally answered.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'm trying to use:</span></div><div><span style="font-size:12.8px"><br></span></div><div><b><span style="font-size:12.8px"> execute_on_fax_detect</span></b><br></div><div><br></div><div><span style="font-size:12.8px">As follows:</span></div><div>
<p class=""><span class=""><b>originate {ignore_early_media=true,originate_timeout=20,media_bug_answer_req=True,origination_uuid=4cb6665a-1e2a-4e24-ad71-1602870960d2,origination_caller_id_number=+18623079305,RECORD_STEREO=true,execute_on_fax_detect='txfax /tmp/sample.tif',execute_on_answer='record_session /usr/local/freeswitch/recordings/E6248DD147_8884732963_4ab6665f-1e2a-4e24-ab71-1602870960d2.wav'}sofia/gateway/twilio/+13193412303 &park()</b></span></p></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Call is answered but I don't see any fax detection kicking in.</span></div><div><span style="font-size:12.8px">I also tried with +18884732963 which is the HP test fax number.</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">In the recording I can hear the Fax tones.</span></div><div>
<p class=""><span class=""><b>FreeSWITCH (Version 1.7.0 git c9abf45 2016-06-27 22:23:25Z 64bit) is ready</b></span></p>
<p class=""><b>Logs:</b></p></div><div><span style="font-size:12.8px"><a href="http://pastebin.com/WE4cMdaB">http://pastebin.com/WE4cMdaB</a></span><br></div><div><span style="font-size:12.8px"><br></span></div></div><div><span style="font-size:12.8px"><b>Topology:</b></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">python --- ESL --> Freeswitch -- sip-- Twilio ---> PSTN ---> fax</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">When I use:</span></div><div><span style="font-size:12.8px"><b>originate loopback/9178 &txfax(/tmp/surface3d.tiff)</b></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I do see Fax modules being invoked:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><a href="http://pastebin.com/9P2yJFWS">http://pastebin.com/9P2yJFWS</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you</span></div><div><span style="font-size:12.8px"><br></span></div></div>