FreeSWITCH CLI in Red Hat Linux
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.
the CLI command is: fs_cli On Wed, Aug 10, 2011 at 6:26 PM, Cyril Zlachevsky < 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
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> 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
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>> 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 <mailto: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
_______________________________________________ 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
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> 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>> 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 <mailto: 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
_______________________________________________ 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
_______________________________________________ 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
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. >
No, you don't need to specify the host when it's localhost. Did you change the password? But first.. are you sure freeswitch is currently running? Try a ps aux | grep freeswitch -Avi On Wed, Aug 10, 2011 at 1:50 PM, Cyril Zlachevsky < cyril.zlachevsky@gmail.com> 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
What password you mean? And offcause, freeswitch is already running: # service freeswitch status freeswitch (pid 7700) is running... 10.08.2011 14:34, Avi Marcus пишет:
No, you don't need to specify the host when it's localhost. Did you change the password? But first.. are you sure freeswitch is currently running? Try a ps aux | grep freeswitch
-Avi
On Wed, Aug 10, 2011 at 1:50 PM, Cyril Zlachevsky <cyril.zlachevsky@gmail.com <mailto:cyril.zlachevsky@gmail.com>> 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> > <mailto: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>> > > <mailto: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 <mailto: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
_______________________________________________ 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
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
Thank you - this is solution for my problem: <load module="mod_event_socket"/> 10.08.2011 14:35, Rob Hutton пишет:
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:
-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
participants (4)
-
Avi Marcus
-
Cyril Zlachevsky
-
Nandy Dagondon
-
Rob Hutton