fs_cli uses mod_event_socket:


http://wiki.freeswitch.org/wiki/Mod_event_socket


Make sure your password matches, the port that you have defined in the event socket config is not being blocked by a firewall, etc. It is a network service just like any other.


On Wednesday 10 August 2011 06:50:18 Cyril Zlachevsky wrote:

> same behaviour:

> /opt/freeswitch/bin/fs_cli -H 127.0.0.1

> [ERROR] fs_cli.c:1261 main() Error Connecting [Socket Connection Error]

>

> 10.08.2011 14:03, Nandy Dagondon пишет:

> > you need to supply the host address: fs_cli -H 127.0.0.1

> >

> > On Wed, Aug 10, 2011 at 6:37 PM, Cyril Zlachevsky <cyril.zlachevsky@gmail.com

> > <mailto:cyril.zlachevsky@gmail.com>> wrote:

> >

> > I got error:

> > # /opt/freeswitch/bin/fs_cli

> > [ERROR] fs_cli.c:1261 main() Error Connecting [Socket Connection Error]

> > May be I need to enable CLI in freeswitch.xml?

> >

> >

> > 10.08.2011 13:43, Avi Marcus пишет:

> > > the fs_cli is in the same folder as freeswitch: freeswitch/bin/fs_cli

> > >

> > > Read more:

> > > http://wiki.freeswitch.org/wiki/Fs_cli

> > >

> > >

> > > -Avi Marcus

> > >

> > >

> > > On Wed, Aug 10, 2011 at 1:26 PM, Cyril Zlachevsky <cyril.zlachevsky@gmail.com

> > <mailto:cyril.zlachevsky@gmail.com>

> > > <mailto:cyril.zlachevsky@gmail.com <mailto:cyril.zlachevsky@gmail.com>>> wrote:

> > >

> > > Hi!

> > > I have RHEL 5 server and FreeSWITCH installed from RPM.

> > > I'm start FreeSWITCH daemon by command

> > > /sbin/service/freeswitch start

> > > Process owner is freeswitch:daemon

> > > I have to use CLI, but don't know how get FreeSWITCH CLI prompt if daeomn is already started.

> > >

>

> _______________________________________________

> Join us at ClueCon 2011, Aug 9-11, Chicago

> http://www.cluecon.com 877-7-4ACLUE

>

> 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

>