If you pull up fs_cli and do /events all plain, you should be able to see all the events, and can help nail down exactly what you are looking to match.

On Jan 21, 2016, at 1:46 AM, Deepika Yadav <deepikay@iiitd.ac.in> wrote:

I tried to receive the events in my java program  in this way :

Code Snippet

ESLconnection con = new ESLconnection("127.0.0.1","8021","ClueCon");
event = con.recvEvent();
String eventHeader = event.getHeader("Event-Name",-1);

while (con.connected() == 1) {
    if(eventHeader.equalsIgnoreCase("stop-talking")){
        System.out.println("some stopped speaking"+(System.currentTimeMillis() % 1000));
  }
  if(eventHeader.equalsIgnoreCase("start-talking")){
System.out.println("some started speaking at"+ (System.currentTimeMillis() % 1000));
    }
 .....
}


I don not receive events when conference members speak although, I receive other events (DTMF, conference_add_member) correctly

Please let know the correct way

On Mon, Jan 18, 2016 at 8:43 AM, Deepika Yadav <deepikay@iiitd.ac.in> wrote:
Thanks Nathan & Bote,

I am surely gonna try this approach.

On Sun, Jan 17, 2016 at 10:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
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
>>>
>>>