Type: New Feature
Affects Version/s: None
Target Release Version/s: None
/var/run/asterisk.ctl is the socket to which asterisk -x writes to. This socket is created at every (re)start.
This patch adds several configuration features to asterisk.conf:
astctlpermissions = 0660
astctlowner = root
astctlgroup = apache
astctl => asterisk.ctl
First it defines the socket name, which is at this moment hardcoded.
It defines the owner and group of the socket, to which the socket is chown(2)ed.
And it changes the permissions on the socket, so that other processes which are not run as root can use the socket.