[Freeswitch-users] Console Window

Szymon Olko solko at gcdf.pl
Tue Mar 24 07:37:07 PDT 2009


Will Smith pisze:
> 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 at 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.

> Will
> 
> --- On *Tue, 3/24/09, Leon de Rooij /<leon at scarlet-internet.nl>/* wrote:
> 
>     From: Leon de Rooij <leon at scarlet-internet.nl>
>     Subject: Re: [Freeswitch-users] Console Window
>     To: freeswitch-users at 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 at gmail.com
>>     <mailto:saeedahmad1981 at gmail.com>>/* wrote:
>>
>>         From: Saeed Ahmed <saeedahmad1981 at gmail.com
>>         <mailto:saeedahmad1981 at gmail.com>>
>>         Subject: Re: [Freeswitch-users] Console Window
>>         To: freeswitch-users at lists.freeswitch.org
>>         <mailto:freeswitch-users at 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 at lists.freeswitch.org
>>         <mailto:freeswitch-users-bounces at lists.freeswitch.org>
>>         [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On
>>         Behalf Of *Will Smith
>>         *Sent:* Tuesday, March 24, 2009 1:52 PM
>>         *To:* freeswitch-users at lists.freeswitch.org
>>         <mailto:freeswitch-users at 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 at lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/>
>>
>>
>>     _______________________________________________
>>     Freeswitch-users mailing list
>>     Freeswitch-users at lists.freeswitch.org
>>     <mailto: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 <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





More information about the FreeSWITCH-users mailing list