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. On Fri, May 18, 2018, 16:58 Michael Jerris <mike@jerris.com> wrote:
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.
Mike
On May 17, 2018, at 2:59 AM, Eugene Prokopiev <enp@itx.ru> wrote:
Hi,
Is it possible to automatically remove recorded files which contains nothing except silence? Can mod_dptools:record do this just after recoding attempt?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org