Note, If you’re looking for current information please see Free PBX Guide for the latest tutorial with updated information from what is located below. Free PBX Guide
We had to edit the stock Asterisk Init script to use with Asterisk on Ubuntu. In order for it to actually stop the Flash Operator Panel when you run the stop command a few additions had to be made.
Find it below for download.
Installation is like any other script,
# mv asterisk.init /etc/init.d/asterisk # chmod +x /etc/init.d/asterisk # /etc/init.d/asterisk stop | stop | restart