[Freeswitch-users] restart when convenient

Anatoliy Kounitskiy anatoliy at kounitskiy.com
Fri Sep 4 00:35:59 PDT 2009


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 Collins<msc at freeswitch.org> wrote:
>
>
> 2009/9/3 Christian Löschenkohl <christian.loeschenkohl at 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 script (not the most
>> efficient way).
>>
>> i think i would be great if we would have a buildin function for this, i
>> think such
>> command would help with maintenance and not only for me.
>>
>> br
>>
> Like JM said, the fsctl API can help. If you're in Linux you can do a shell
> script with a command like ths:
>
> fs_cli -x 'fsctl shutdown restart'
>
> -MC
>
>
> _______________________________________________
> 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
>
>



-- 
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy at kounitskiy.com
Mobile: +359898913540




More information about the FreeSWITCH-users mailing list