[Freeswitch-users] close all conference from fs_cli

Madovsky infos at madovsky.org
Mon Feb 7 22:41:34 MSK 2011


> Not sure what you mean? Are you connecting in via esl and wanting to detect when the socket closes?
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 
linked to esl server (hangup all conferences for example)
  ----- Original Message ----- 
  From: Steven Ayre 
  To: FreeSWITCH Users Help 
  Sent: Monday, February 07, 2011 2:28 PM
  Subject: Re: [Freeswitch-users] close all conference from fs_cli


  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 at 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 at madovsky.org> wrote:

        Is there a way to close/hangup all active conferences 
        from CLI ?

        Thanks

        _______________________________________________
        FreeSWITCH-users mailing list
        FreeSWITCH-users at 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 at 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 at 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 at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110207/82da17f7/attachment.html 


More information about the FreeSWITCH-users mailing list