<div dir="ltr">I tried to receive the events in my java program  in this way :<div><br></div><div>Code Snippet<br></div><div><br></div><div><font color="#cc0000">ESLconnection con = new ESLconnection(&quot;127.0.0.1&quot;,&quot;8021&quot;,&quot;ClueCon&quot;);<br></font></div><div><div><font color="#cc0000">event = con.recvEvent();</font></div><div><font color="#cc0000">String eventHeader = event.getHeader(&quot;Event-Name&quot;,-1);</font></div></div><div><font color="#cc0000"><br></font></div><div><font color="#cc0000">while (con.connected() == 1) {<br></font></div><div><div><font color="#cc0000">    if(eventHeader.equalsIgnoreCase(&quot;stop-talking&quot;)){</font></div><div><font color="#cc0000">        System.out.println(&quot;some stopped speaking&quot;+(System.currentTimeMillis() % 1000));</font></div><div><span class="" style="white-space:pre"><font color="#cc0000">                        </font></span></div><div><font color="#cc0000"><span style="white-space:pre">    </span>}</font></div><div><span class="" style="white-space:pre"><font color="#cc0000">                </font></span></div><div><font color="#cc0000"><span style="white-space:pre">    </span>if(eventHeader.equalsIgnoreCase(&quot;start-talking&quot;)){</font></div><div><font color="#cc0000"><span class="" style="white-space:pre">        </span>System.out.println(&quot;some started speaking at&quot;+ (System.currentTimeMillis() % 1000));</font></div><div><span class="" style="white-space:pre"><font color="#cc0000">                </font></span></div><div><font color="#cc0000">    }</font></div><div><font color="#cc0000"> .....</font></div><div><font color="#cc0000">}</font></div><div><span class="" style="white-space:pre"><font color="#ff0000"><br></font></span></div><div><br></div><div><span class="" style="white-space:pre">I don not receive events when conference members speak although, I receive other events (DTMF, conference_add_member) correctly</span></div><div><span class="" style="white-space:pre"><br></span></div><div><span style="white-space:pre">Please let know the correct way </span><br></div><div><span class="" style="white-space:pre">                </span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 8:43 AM, Deepika Yadav <span dir="ltr">&lt;<a href="mailto:deepikay@iiitd.ac.in" target="_blank">deepikay@iiitd.ac.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Nathan &amp; Bote,<div><br></div><div>I am surely gonna try this approach.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 17, 2016 at 10:34 PM, Nathan Neulinger <span dir="ltr">&lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Woops. Yeah, good point on the stop vs. start...<br>
<span><font color="#888888"><br>
-- Nathan<br>
</font></span><div><div><br>
On 01/17/2016 10:13 AM, Bote Man wrote:<br>
&gt; I was going to suggest the same approach, but measure the time since the<br>
&gt; last &#39;stop-talking&#39; event since that indicates that silence has begun.<br>
&gt;<br>
&gt; The script should make sure that it has no &#39;start-talking&#39; events without a<br>
&gt; matching &#39;stop-talking&#39; event to ensure that everybody is silent before<br>
&gt; starting the timer.<br>
&gt;<br>
&gt; Bote<br>
&gt;<br>
&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: Nathan Neulinger<br>
&gt;&gt; Sent: Sunday, 17 January, 2016 10:00<br>
&gt;&gt; Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in<br>
&gt; Conference Session<br>
&gt;&gt;<br>
&gt;&gt; Might not be the best way to do it - but you could potentially look for<br>
&gt; the<br>
&gt;&gt; inverse.<br>
&gt;&gt;<br>
&gt;&gt; Set up an event listener for all conference events - watch for<br>
&gt; &#39;start-talking&#39;<br>
&gt;&gt; and &#39;stop-talking&#39;, and just keep track<br>
&gt;&gt; of how long it has been since the last &#39;start-talking&#39; event.<br>
&gt;&gt;<br>
&gt;&gt; -- Nathan<br>
&gt;&gt;<br>
&gt;&gt; On 01/17/2016 01:21 AM, Deepika Yadav wrote:<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am using event socket layer to receive events happenening in the<br>
&gt;&gt; conference session from the Freeswitch in my java<br>
&gt;&gt;&gt; program. My program is interested in knowing when there is silence in<br>
&gt; the<br>
&gt;&gt; conference for a particular period of time.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; How can I set a condition for silence detection in the conference<br>
&gt; dialplan<br>
&gt;&gt; and receive its value through a channel<br>
&gt;&gt;&gt; variable in my program.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt; Deepika<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; ------------------------------------------------------------<br>
&gt;&gt; Nathan Neulinger                       <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a><br>
&gt;&gt; Missouri S&amp;T Information Technology    (573) 612-1412<br>
&gt;&gt; System Administrator - Architect<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger                       <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a><br>
Missouri S&amp;T Information Technology    (573) 612-1412<br>
System Administrator - Architect<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>