Detecting media when recording
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
https://confluence.freeswitch.org/display/FREESWITCH/mod_com_amd On Sun, Aug 28, 2016 at 6:39 AM, Gonzalo Gasca Meza <gascagonzalo@gmail.com> wrote:
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
_________________________________________________________________________ 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
-- Ítalo Rossi italo@freeswitch.org
Hi Italo, Thanks for answering I have the following question: Can this work in conjunction with spandsp module. I currently use spandsp to detect fax. <action application="spandsp_start_fax_detect" data="transfer 'fax' 10 ced" /> <action application="spandsp_start_tone_detect" data="55"/> <action application="playback" data="silence_stream://18000"/> <action application="spandsp_stop_tone_detect"/> Thank you -Gonzalo On Sun, Aug 28, 2016 at 6:21 PM, Ítalo Rossi <italo@freeswitch.org> wrote:
https://confluence.freeswitch.org/display/FREESWITCH/mod_com_amd
On Sun, Aug 28, 2016 at 6:39 AM, Gonzalo Gasca Meza < gascagonzalo@gmail.com> wrote:
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
_________________________________________________________________________ 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
-- Ítalo Rossi italo@freeswitch.org
_________________________________________________________________________ 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
should not conflict with fax detect On Wednesday, August 31, 2016, Gonzalo Gasca Meza <gascagonzalo@gmail.com> wrote:
Hi Italo,
Thanks for answering I have the following question:
Can this work in conjunction with spandsp module. I currently use spandsp to detect fax.
<action application="spandsp_start_fax_detect" data="transfer 'fax' 10 ced"/>
<action application="spandsp_start_tone_detect" data="55"/>
<action application="playback" data="silence_stream://18000"/>
<action application="spandsp_stop_tone_detect"/>
Thank you
-Gonzalo
On Sun, Aug 28, 2016 at 6:21 PM, Ítalo Rossi <italo@freeswitch.org <javascript:_e(%7B%7D,'cvml','italo@freeswitch.org');>> wrote:
https://confluence.freeswitch.org/display/FREESWITCH/mod_com_amd
On Sun, Aug 28, 2016 at 6:39 AM, Gonzalo Gasca Meza < gascagonzalo@gmail.com <javascript:_e(%7B%7D,'cvml','gascagonzalo@gmail.com');>> wrote:
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
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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
-- Ítalo Rossi italo@freeswitch.org <javascript:_e(%7B%7D,'cvml','italo@freeswitch.org');>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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
participants (3)
-
Gonzalo Gasca Meza
-
Michael Jerris
-
Ítalo Rossi