[Freeswitch-users] restart when convenient

Michael Collins msc at freeswitch.org
Fri Sep 4 00:14:03 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090904/91606f9d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list