Woops. Yeah, good point on the stop vs. start... -- Nathan On 01/17/2016 10:13 AM, Bote Man wrote:
I was going to suggest the same approach, but measure the time since the last 'stop-talking' event since that indicates that silence has begun.
The script should make sure that it has no 'start-talking' events without a matching 'stop-talking' event to ensure that everybody is silent before starting the timer.
Bote
-----Original Message----- From: Nathan Neulinger Sent: Sunday, 17 January, 2016 10:00 Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session
Might not be the best way to do it - but you could potentially look for the inverse.
Set up an event listener for all conference events - watch for 'start-talking' and 'stop-talking', and just keep track of how long it has been since the last 'start-talking' event.
-- Nathan
On 01/17/2016 01:21 AM, Deepika Yadav wrote:
Hi,
I am using event socket layer to receive events happenening in the conference session from the Freeswitch in my java program. My program is interested in knowing when there is silence in the conference for a particular period of time.
How can I set a condition for silence detection in the conference dialplan and receive its value through a channel variable in my program.
Regards, Deepika
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ 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
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect