<div dir="ltr">Thanks Michael,<div><br></div><div>Yeah , by using the fs_cli command /plain CUSTOM conference::maintenance I was able to receive all the events related to the conference.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 21, 2016 at 10:34 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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.<div><div class="h5"><div><br><div><blockquote type="cite"><div>On Jan 21, 2016, at 1:46 AM, Deepika Yadav &lt;<a href="mailto:deepikay@iiitd.ac.in" target="_blank">deepikay@iiitd.ac.in</a>&gt; wrote:</div><br><div><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 style="white-space:pre-wrap"><font color="#cc0000">                        </font></span></div><div><font color="#cc0000"><span style="white-space:pre-wrap">    </span>}</font></div><div><span style="white-space:pre-wrap"><font color="#cc0000">                </font></span></div><div><font color="#cc0000"><span style="white-space:pre-wrap">    </span>if(eventHeader.equalsIgnoreCase(&quot;start-talking&quot;)){</font></div><div><font color="#cc0000"><span style="white-space:pre-wrap">        </span>System.out.println(&quot;some started speaking at&quot;+ (System.currentTimeMillis() % 1000));</font></div><div><span style="white-space:pre-wrap"><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 style="white-space:pre-wrap"><font color="#ff0000"><br></font></span></div><div><br></div><div><span style="white-space:pre-wrap">I don not receive events when conference members speak although, I receive other events (DTMF, conference_add_member) correctly</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Please let know the correct way </span><br></div><div><span style="white-space:pre-wrap">                </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><div><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;</div></div></blockquote></div></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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></blockquote></div><br></div>