What is the purpose of the safe_asterisk application?

What is the purpose of the safe_asterisk application? Is it safe to run as root?

It’s a script that restarts Asterisk if it terminates abnormally. I suspect it has to be run as root.

Thank you, his response was satisfactory.