<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>> </FONT><FONT size=3>Not sure what you mean? Are you
connecting in via esl and wanting to detect when the socket closes?</FONT></DIV>
<DIV>no, in fact I have my own esl socket server in php so in case of this
script fails I needed to clean the processes </DIV>
<DIV>linked to esl server (hangup all conferences for example)</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=steveayre@gmail.com href="mailto:steveayre@gmail.com">Steven Ayre</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 07, 2011 2:28
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] close all
conference from fs_cli</DIV>
<DIV><BR></DIV>
<DIV>Not sure what you mean? Are you connecting in via esl and wanting to
detect when the socket closes? You can listen for the heartbeat event, use tcp
keepalives or poll with status api. You tcp stack will already tell you if a
tcp graceful close occurs.<BR><BR>Steve on iPhone</DIV>
<DIV><BR>On 7 Feb 2011, at 18:10, "Madovsky" <<A
href="mailto:infos@madovsky.org">infos@madovsky.org</A>>
wrote:<BR><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
<DIV>
<DIV><FONT size=2>yes it's what I planned to do.</FONT></DIV>
<DIV><FONT size=2>in fact as socket app doesn't have any ping test or check
status property,</FONT></DIV>
<DIV><FONT size=2>in case of socket down the only way for now is
to</FONT></DIV>
<DIV><FONT size=2>create a script that ping/telnet the connection status and
if down</FONT></DIV>
<DIV><FONT size=2>run the right commands to clean what you do in
ESL</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=msc@freeswitch.org href="mailto:msc@freeswitch.org">Michael
Collins</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users
Help</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 07, 2011 1:04
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] close
all conference from fs_cli</DIV>
<DIV><BR></DIV>There isn't a single command, but you could write a script
that does a show conf to get a list of conferences and then do a conf xxx
kick all on each one.
<DIV>-MC<BR><BR>
<DIV class=gmail_quote>On Sun, Feb 6, 2011 at 7:05 PM, Madovsky <SPAN
dir=ltr><<A href="mailto:infos@madovsky.org"><A
href="mailto:infos@madovsky.org">infos@madovsky.org</A></A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Is there a way to close/hangup all active conferences
</FONT></DIV>
<DIV><FONT size=2>from CLI ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2>Thanks</FONT></DIV></DIV><BR>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A></A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank><A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A></A><BR><A
href="http://www.freeswitch.org" target=_blank><A
href="http://www.freeswitch.org">http://www.freeswitch.org</A></A><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN>_______________________________________________</SPAN><BR><SPAN>FreeSWITCH-users
mailing list</SPAN><BR><SPAN><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></SPAN><BR><SPAN>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</SPAN><BR><SPAN><A
href="http://www.freeswitch.org">http://www.freeswitch.org</A></SPAN><BR></DIV></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>