How to stop freeswitch by the command line

command-line-interfacefreeswitchremote-access

freeswitch has it's own CLI and it is possible to shut it down with shutdown command issued within this CLI.

But is it possible to shut it down bu separate command, for example, by shell script?

Best Answer

You can use the following command:

fs_cli -x "shutdown"