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.

Steve on iPhone

On 7 Feb 2011, at 18:10, "Madovsky" <infos@madovsky.org> wrote:

yes it's what I planned to do.
in fact as socket app doesn't have any ping test or check status property,
in case of socket down the only way for now is to
create a script that ping/telnet the connection status and if down
run the right commands to clean what you do in ESL
----- Original Message -----
From: Michael Collins
To: FreeSWITCH Users Help
Sent: Monday, February 07, 2011 1:04 PM
Subject: Re: [Freeswitch-users] close all conference from fs_cli

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.
-MC

On Sun, Feb 6, 2011 at 7:05 PM, Madovsky <infos@madovsky.org> wrote:
Is there a way to close/hangup all active conferences
from CLI ?
 
Thanks

_______________________________________________
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



_______________________________________________
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
_______________________________________________
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