How to run Asterisk command from shell
Use
asterisk_run_command.sh
asterisk -rx "[command]"
to run an Asterisk command (-x
) in an already running Asterisk server (-r
), for example:
asterisk_restart.sh
asterisk -rx "core restart now"
Check out similar posts by category:
FreePBX
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow