2009/9/3 Christian Löschenkohl
<christian.loeschenkohl@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