Re: [Freeswitch-users] restart when convenient

2009-09-05 Thread Lars Zeb
To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] restart when convenient hello i'm looking for a possibility to restart freeswitch like it is possible with asterisk. for me i tried to created a script that looks for open channels and if no channel is open it restarts freeswitch

[Freeswitch-users] restart when convenient

2009-09-04 Thread Christian Löschenkohl
hello i'm looking for a possibility to restart freeswitch like it is possible with asterisk. for me i tried to created a script that looks for open channels and if no channel is open it restarts freeswitch with the init script (not the most efficient way). i think i would be great if we would

Re: [Freeswitch-users] restart when convenient

2009-09-04 Thread João Mesquita
Look at the fsctl api on the wiki. It has what you need. jmesquita On 9/4/09, Christian Löschenkohl christian.loeschenk...@xpirio.com wrote: hello i'm looking for a possibility to restart freeswitch like it is possible with asterisk. for me i tried to created a script that looks for open

Re: [Freeswitch-users] restart when convenient

2009-09-04 Thread Michael Collins
2009/9/3 Christian Löschenkohl christian.loeschenk...@xpirio.com hello i'm looking for a possibility to restart freeswitch like it is possible with asterisk. for me i tried to created a script that looks for open channels and if no channel is open it restarts freeswitch with the init

Re: [Freeswitch-users] restart when convenient

2009-09-04 Thread Anatoliy Kounitskiy
After some testing (fs_cli -x 'fsctl shutdown restart') I'm seeing that all active calls are dropped and the freeswitch is restarted On Fri, Sep 4, 2009 at 10:14 AM, Michael Collinsm...@freeswitch.org wrote: 2009/9/3 Christian Löschenkohl christian.loeschenk...@xpirio.com hello i'm

Re: [Freeswitch-users] restart when convenient

2009-09-04 Thread Seven Du
freeswi...@foosball fsctl -USAGE: [send_sighup|hupall|pause|resume|shutdown [cancel|elegant|asap| restart]|sps|sync_clock|reclaim_mem|max_sessions|max_dtmf_duration [num]|loglevel [level]] On Sep 4, 2009, at 3:35 PM, Anatoliy Kounitskiy wrote: After some testing (fs_cli -x 'fsctl shutdown

Re: [Freeswitch-users] restart when convenient

2009-09-04 Thread Anatoliy Kounitskiy
What you're looking for is : fs_cli -x 'fsctl shutdown elegant restart' :) It will restart the freeswitch after all calls are hanged up. On Fri, Sep 4, 2009 at 10:46 AM, Seven Dudujinf...@gmail.com wrote: freeswi...@foosball fsctl -USAGE: [send_sighup|hupall|pause|resume|shutdown