<div dir="auto">I would do this outside of freeswitch with nice priority. I guess "sox" should be able to do the job. This will preserve CPU cycles for important real-time work.<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 18, 2018, 16:58 Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That exact feature is not there, but you might be able to do some math of length against silence hits to figure out if its all silence or not.  Take a look at how silence_hits are figured out in switch_ivr_record_file to understand the math you have to do to length.<br>
<br>
Mike<br>
<br>
> On May 17, 2018, at 2:59 AM, Eugene Prokopiev <<a href="mailto:enp@itx.ru" target="_blank" rel="noreferrer">enp@itx.ru</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> Is it possible to automatically remove recorded files which contains<br>
> nothing except silence? Can mod_dptools:record do this just after<br>
> recoding attempt?<br>
> <br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank" rel="noreferrer">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>