Im using ESL originate to record active calls:
My command:

originate{ignore_early_media=false,bridge_early_media=false,originate_timeout=70,bridge_answer_timeout=70,call_timeout=70,[leg_timeout=70],execute_on_answer_1='sched_hangup 18 ALLOTTED_TIMEOUT',RECORD_STEREO=true,execute_on_answer_2='record_session /var/www/html/recordings/HGWHML2RQP_44dcfdc0-styq-khxn-qdea-hmms-44dd089c6c.wav'}sofia/gateway/twilio/+1111111111 handle_calls


Is there a way to detect if during active call there is human voice (speech recognition)? If so keep recording file, otherwise discard the file?

Using Freeswitch 1.7

Thank you