Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Console Window


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
willbelair at yahoo.com
Guest





PostPosted: Tue Mar 24, 2009 8:09 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Hi, I closed the console window that ran FS without shutting down FS. I had to restart the server to get back to the console window. I just wonder if there is a way to bring that window up without restart server. In the file /log/freeswitch.pid, I found a number, is that a seesion id? Thank you.
Back to top
saeedahmad1981 at gmai...
Guest





PostPosted: Tue Mar 24, 2009 8:34 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use screen!


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Will Smith
Sent: Tuesday, March 24, 2009 1:52 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Console Window


Hi,

I closed the console window that ran FS without shutting down FS. I had to restart the server to get back to the console window. I just wonder if there is a way to bring that window up without restart server. In the file /log/freeswitch.pid, I found a number, is that a seesion id?



Thank you.
Back to top
willbelair at yahoo.com
Guest





PostPosted: Tue Mar 24, 2009 8:47 am    Post subject: [Freeswitch-users] Console Window Reply with quote

No, I started FS with this: /usr/local/freeswitch/bin/freeswitch . What can I do in this case ? thank you for help--- On Tue, 3/24/09, Saeed Ahmed <saeedahmad1981@gmail.com> wrote: From: Saeed Ahmed <saeedahmad1981@gmail.com>Subject: Re: [Freeswitch-users] Console WindowTo: freeswitch-users@lists.freeswitch.orgDate: Tuesday, March 24, 2009, 6:25 AM Did you started FS with –nc option?with this option you can connect to FS using ./fs_cliOR use screen! From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Will SmithSent: Tuesday, March 24, 2009 1:52 PMTo: freeswitch-users@lists.freeswitch.orgSubject: [Freeswitch-users] Console Window Hi, I closed the console window that ran FS without shutting down FS. I had to restart the server to get back to the console window. I just wonder if there is a way to bring that window up without restart server. In the file /log/freeswitch.pid, I found a number, is that a seesion id? Thank you. _______________________________________________ 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
Back to top
solko at gcdf.pl
Guest





PostPosted: Tue Mar 24, 2009 8:51 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Will Smith pisze:
Quote:
No, I started FS with this:
/usr/local/freeswitch/bin/freeswitch . What can I do in this case ?

run command

fs_cli

it is almost the same as normal freeswitch console. You just cannot shut it down with '...' command.

Just use this one 'fsctl shutdown asap'.



Quote:
thank you for help

--- On *Tue, 3/24/09, Saeed Ahmed /<saeedahmad1981@gmail.com>/* wrote:

From: Saeed Ahmed <saeedahmad1981@gmail.com>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, March 24, 2009, 6:25 AM

Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use /screen/!

------------------------------------------------------------------------

*From:* freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of
*Will Smith
*Sent:* Tuesday, March 24, 2009 1:52 PM
*To:* freeswitch-users@lists.freeswitch.org
*Subject:* [Freeswitch-users] Console Window



Hi,

I closed the console window that ran FS without shutting down FS. I
had to restart the server to get back to the console window. I just
wonder if there is a way to bring that window up without restart
server. In the file /log/freeswitch.pid, I found a number, is that a
seesion id?



Thank you.



_______________________________________________
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
Back to top
leon at scarlet-intern...
Guest





PostPosted: Tue Mar 24, 2009 8:56 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Just make sure you have mod_event socket loaded in conf/autoload_modules/modules.conf.xml :

<load module="mod_event_socket"/>


And have it configured in conf/autoload_modules/event_socket.conf.xml


Then you can use bin/fs_cli to connect to running FS instance.


I don't think you can reconnect to a process of which you have disconnected the terminal (without using screen)..


regards,


Leon


On Mar 24, 2009, at 2:35 PM, Will Smith wrote:
Quote:
No, I started FS with this:
/usr/local/freeswitch/bin/freeswitch . What can I do in this case ?

thank you for help

--- On Tue, 3/24/09, Saeed Ahmed <saeedahmad1981@gmail.com (saeedahmad1981@gmail.com)> wrote:

Quote:
From: Saeed Ahmed <saeedahmad1981@gmail.com (saeedahmad1981@gmail.com)>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Date: Tuesday, March 24, 2009, 6:25 AM


Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use screen!



From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Will Smith
Sent: Tuesday, March 24, 2009 1:52 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Console Window



Hi,

I closed the console window that ran FS without shutting down FS. I had to restart the server to get back to the console window. I just wonder if there is a way to bring that window up without restart server. In the file /log/freeswitch.pid, I found a number, is that a seesion id?



Thank you.

Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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

Back to top
willbelair at yahoo.com
Guest





PostPosted: Tue Mar 24, 2009 9:33 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Thank you all for your help. I use : /usr/local/freeswitch/bin/fs_cli to open a FS instance. But then cannot use "shutdown" command. Then I used 'fsctl shutdown asap' (directed by Szymon). It works perfectly. Again, thank you. Have a great day you all. Will--- On Tue, 3/24/09, Leon de Rooij <leon@scarlet-internet.nl> wrote: From: Leon de Rooij <leon@scarlet-internet.nl>Subject: Re: [Freeswitch-users] Console WindowTo: freeswitch-users@lists.freeswitch.orgDate: Tuesday, March 24, 2009, 6:47 AM Just make sure you have mod_event socket loaded in conf/autoload_modules/modules.conf.xml : <load module="mod_event_socket"/> And have it configured in conf/autoload_modules/event_socket.conf.xml Then you can use bin/fs_cli to connect to running FS instance. I don't think you can reconnect to a process of which you have disconnected the terminal (without using screen).. regards, Leon On Mar 24, 2009, at 2:35 PM, Will Smith wrote: No, I started FS with this: /usr/local/freeswitch/bin/freeswitch . What can I do in this case ? thank you for help--- On Tue, 3/24/09, Saeed Ahmed <saeedahmad1981@gmail.com (saeedahmad1981@gmail.com)> wrote: From: Saeed Ahmed <saeedahmad1981@gmail.com (saeedahmad1981@gmail.com)>Subject: Re: [Freeswitch-users] Console WindowTo: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)Date: Tuesday, March 24, 2009, 6:25 AM Did you started FS with –nc option?with this option you can connect to FS using ./fs_cliOR use screen! From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Will SmithSent: Tuesday, March 24, 2009 1:52 PMTo: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)Subject: [Freeswitch-users] Console Window Hi, I closed the console window that ran FS without shutting down FS. I had to restart the server to get back to the console window. I just wonder if there is a way to bring that window up without restart server. In the file /log/freeswitch.pid, I found a number, is that a seesion id? Thank you. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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
Back to top
diego.viola at gmail.com
Guest





PostPosted: Tue Mar 24, 2009 9:40 am    Post subject: [Freeswitch-users] Console Window Reply with quote

I put /usr/local/freeswitch/bin in my path, like this.

export PATH=/usr/local/freeswitch/bin:$PATH on my ~/.bashrc, you can
put it on your /etc/profile if you want it to be global.

Then I just do `freeswitch -nc' when I need to start it, `fs_cli' to
connect, and `fsctl shutdown asap' to shut it down, or `freeswitch
-stop'.

Hope that helps.

Diego

2009/3/24 Will Smith <willbelair@yahoo.com>:
Quote:
Thank you all for your help.
I use : /usr/local/freeswitch/bin/fs_cli  to open a FS instance. But then
cannot use "shutdown" command. Then I used 'fsctl shutdown asap'  (directed
by Szymon). It works perfectly.

Again, thank you. Have a great day you all.

Will

--- On Tue, 3/24/09, Leon de Rooij <leon@scarlet-internet.nl> wrote:

From: Leon de Rooij <leon@scarlet-internet.nl>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, March 24, 2009, 6:47 AM

Just make sure you have mod_event socket loaded in
conf/autoload_modules/modules.conf.xml :
    <load module="mod_event_socket"/>
And have it configured in conf/autoload_modules/event_socket.conf.xml
Then you can use bin/fs_cli to connect to running FS instance.
I don't think you can reconnect to a process of which you have disconnected
the terminal (without using screen)..
regards,
Leon
On Mar 24, 2009, at 2:35 PM, Will Smith wrote:

No, I started FS with this:
/usr/local/freeswitch/bin/freeswitch . What can I do in this case ?

thank you for help

--- On Tue, 3/24/09, Saeed Ahmed <saeedahmad1981@gmail.com> wrote:

From: Saeed Ahmed <saeedahmad1981@gmail.com>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, March 24, 2009, 6:25 AM

Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use screen!

________________________________

From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Will
Smith
Sent: Tuesday, March 24, 2009 1:52 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Console Window



Hi,

I closed the console window that ran FS without shutting down FS. I had to
restart the server to get back to the console window. I just wonder if there
is a way to bring that window up without restart server. In the file
/log/freeswitch.pid, I found a number, is that a seesion id?



Thank you.



_______________________________________________
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


_______________________________________________
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
Back to top
solko at gcdf.pl
Guest





PostPosted: Tue Mar 24, 2009 9:44 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Will Smith pisze:
Quote:
Thank you all for your help.
I use : /usr/local/freeswitch/bin/fs_cli to open a FS instance. But
then cannot use "shutdown" command. Then I used 'fsctl shutdown asap'
(directed by Szymon). It works perfectly.

Again, thank you. Have a great day you all.

Remeber there are other flags to shutdown freeswitch

freeswitch@vertux> fsctl
API CALL [fsctl()] output:
-USAGE: [send_sighup|hupall|pause|resume|shutdown
[cancel|elegant|asap|restart]|sps|sync_clock|reclaim_mem|max_sessions|max_dtmf_duration [num]|loglevel [level]]

Look for descriptions in wiki.

Quote:
Will

--- On *Tue, 3/24/09, Leon de Rooij /<leon@scarlet-internet.nl>/* wrote:

From: Leon de Rooij <leon@scarlet-internet.nl>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, March 24, 2009, 6:47 AM

Just make sure you have mod_event socket loaded in
conf/autoload_modules/modules.conf.xml :

<load module="mod_event_socket"/>

And have it configured in conf/autoload_modules/event_socket.conf.xml

Then you can use bin/fs_cli to connect to running FS instance.

I don't think you can reconnect to a process of which you have
disconnected the terminal (without using screen)..

regards,

Leon

On Mar 24, 2009, at 2:35 PM, Will Smith wrote:

Quote:
No, I started FS with this:
/usr/local/freeswitch/bin/freeswitch . What can I do in this case ?

thank you for help

--- On *Tue, 3/24/09, Saeed Ahmed /<saeedahmad1981@gmail.com
<mailto:saeedahmad1981@gmail.com>>/* wrote:

From: Saeed Ahmed <saeedahmad1981@gmail.com
<mailto:saeedahmad1981@gmail.com>>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
<mailto:freeswitch-users@lists.freeswitch.org>
Date: Tuesday, March 24, 2009, 6:25 AM

Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use /screen/!

------------------------------------------------------------------------

*From:* freeswitch-users-bounces@lists.freeswitch.org
<mailto:freeswitch-users-bounces@lists.freeswitch.org>
[mailto:freeswitch-users-bounces@lists.freeswitch.org] *On
Behalf Of *Will Smith
*Sent:* Tuesday, March 24, 2009 1:52 PM
*To:* freeswitch-users@lists.freeswitch.org
<mailto:freeswitch-users@lists.freeswitch.org>
*Subject:* [Freeswitch-users] Console Window



Hi,

I closed the console window that ran FS without shutting down
FS. I had to restart the server to get back to the console
window. I just wonder if there is a way to bring that window
up without restart server. In the file /log/freeswitch.pid, I
found a number, is that a seesion id?



Thank you.



_______________________________________________
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 <http://www.freeswitch.org/>


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


_______________________________________________
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
Back to top
grevenx at me.com
Guest





PostPosted: Tue Mar 24, 2009 9:49 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Please see documentation at:http://wiki.freeswitch.org/wiki/Fs_cli
and
http://wiki.freeswitch.org/wiki/Mod_commands




Best regards,
Even André

On 24. mars. 2009, at 15.23, Will Smith wrote:
Quote:
Thank you all for your help.
I use : /usr/local/freeswitch/bin/fs_cli to open a FS instance. But then cannot use "shutdown" command. Then I used 'fsctl shutdown asap' (directed by Szymon). It works perfectly.

Again, thank you. Have a great day you all.

Will

--- On Tue, 3/24/09, Leon de Rooij <leon@scarlet-internet.nl (leon@scarlet-internet.nl)> wrote:

Quote:
From: Leon de Rooij <leon@scarlet-internet.nl (leon@scarlet-internet.nl)>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Date: Tuesday, March 24, 2009, 6:47 AM

Just make sure you have mod_event socket loaded in conf/autoload_modules/modules.conf.xml :

<load module="mod_event_socket"/>


And have it configured in conf/autoload_modules/event_socket.conf.xml


Then you can use bin/fs_cli to connect to running FS instance.


I don't think you can reconnect to a process of which you have disconnected the terminal (without using screen)..


regards,


Leon


On Mar 24, 2009, at 2:35 PM, Will Smith wrote:
Quote:
No, I started FS with this:
/usr/local/freeswitch/bin/freeswitch . What can I do in this case ?

thank you for help

--- On Tue, 3/24/09, Saeed Ahmed <saeedahmad1981@gmail.com (saeedahmad1981@gmail.com)> wrote:

Quote:
From: Saeed Ahmed <saeedahmad1981@gmail.com (saeedahmad1981@gmail.com)>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Date: Tuesday, March 24, 2009, 6:25 AM


Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use screen!




From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Will Smith
Sent: Tuesday, March 24, 2009 1:52 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Console Window


Hi,

I closed the console window that ran FS without shutting down FS. I had to restart the server to get back to the console window. I just wonder if there is a way to bring that window up without restart server. In the file /log/freeswitch.pid, I found a number, is that a seesion id?



Thank you.

Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 (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
Back to top
pablosaro at gmail.com
Guest





PostPosted: Wed Mar 25, 2009 7:31 am    Post subject: [Freeswitch-users] Console Window Reply with quote

Also guys, I recommend to use a script to handle FS instead of
directly executing the binary.
FS provides some examples.



On 3/24/09, Even André Fiskvik <grevenx@me.com> wrote:
Quote:
Please see documentation at:
http://wiki.freeswitch.org/wiki/Fs_cli
and
http://wiki.freeswitch.org/wiki/Mod_commands


Best regards,
Even André

On 24. mars. 2009, at 15.23, Will Smith wrote:

Quote:
Thank you all for your help.
I use : /usr/local/freeswitch/bin/fs_cli to open a FS instance. But
then cannot use "shutdown" command. Then I used 'fsctl shutdown
asap' (directed by Szymon). It works perfectly.

Again, thank you. Have a great day you all.

Will

--- On Tue, 3/24/09, Leon de Rooij <leon@scarlet-internet.nl> wrote:
From: Leon de Rooij <leon@scarlet-internet.nl>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, March 24, 2009, 6:47 AM

Just make sure you have mod_event socket loaded in conf/
autoload_modules/modules.conf.xml :

<load module="mod_event_socket"/>

And have it configured in conf/autoload_modules/event_socket.conf.xml

Then you can use bin/fs_cli to connect to running FS instance.

I don't think you can reconnect to a process of which you have
disconnected the terminal (without using screen)..

regards,

Leon

On Mar 24, 2009, at 2:35 PM, Will Smith wrote:

Quote:
No, I started FS with this:
/usr/local/freeswitch/bin/freeswitch . What can I do in this case ?

thank you for help

--- On Tue, 3/24/09, Saeed Ahmed <saeedahmad1981@gmail.com> wrote:
From: Saeed Ahmed <saeedahmad1981@gmail.com>
Subject: Re: [Freeswitch-users] Console Window
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, March 24, 2009, 6:25 AM

Did you started FS with –nc option?
with this option you can connect to FS using ./fs_cli
OR
use screen!

From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org
] On Behalf Of Will Smith
Sent: Tuesday, March 24, 2009 1:52 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Console Window


Hi,

I closed the console window that ran FS without shutting down FS. I
had to restart the server to get back to the console window. I just
wonder if there is a way to bring that window up without restart
server. In the file /log/freeswitch.pid, I found a number, is that
a seesion id?



Thank you.


_______________________________________________
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

_______________________________________________
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



--
Sent from Gmail for mobile | mobile.google.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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services