Is it possible to execute arbitrary shell commands using AMI

I would like run some commands/script when via AMI. Is it possible?

Get the result of executing the SHELL function. As this is dangerous, you will need to give your AMI user system write permission.

That’s not even sufficient. You have to enable “live_dangerously” in asterisk.conf because allowing it is, well, dangerous.

Instead of executing arbitrary shell command is there a way to execute specific script, to lower attack surface?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.