To allow Panoramisk to communicate with Asterisk, you must configure the Asterisk Manager Interface (AMI) in your /etc/asterisk/manager.conf file. You need to create a user with appropriate permissions and restrict access to specific IP addresses using deny and permit rules.
After updating the configuration, you must reload the manager for the changes to take effect.
[username]
secret=password
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
read = all
write = all
To apply the changes, run:
$ rasterisk -x 'manager reload'