You can also take a look at https://github.com/adhearsion/ruby_fs, which is a more ruby-like approach than the version provided by ESL.

On 16 June 2015 at 08:32, Steven Ayre <steveayre@gmail.com> wrote:
See /libs/esl/ruby in git, or wrap the fs_cli command. The client library won't be built when you build freeswitch, it needs to be built separately.

See https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Library

On 16 June 2015 at 11:57, Pandurang Waghulde <pandurang@idyllic-software.com> wrote:
I trying fetch that from ruby script. Is there any library written that I can refer?

On Tue, Jun 16, 2015 at 3:46 PM, Aqs Younas <aqsyounas@gmail.com> wrote:

You can run "show call count" on fscli or "show status"

On Jun 16, 2015 3:11 PM, "Pandurang Waghulde" <pandurang@idyllic-software.com> wrote:
Hi all,
I wanted to know if it is possible to check whether freeswitch is having any calls at that the moment. Let me know if anyone has idea about this.


Thanks

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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