Setting up the system.
Dependencies
Installing Aria
- Install Asterisk as given here
- Install Python(2.7) and Python-flask.
- Pull Aria from github.com and change branch to release.
$ git clone git@github.com:AriaCET/aria-server.git $ git checkout release
- Run install to install server as a systemd/init.d/upstart service
$ ./install SYSTEMD #for systemd service. You can use INITD/UPSTART instead of SYSTEMD
Setting File Permissions
- Create a special User "asterisk"
$ groupadd -g 5060 asterisk $ useradd -u 5060 -d /var/lib/asterisk -g asterisk -s /bin/false asterisk $ passwd -l asterisk
- Change the file permissions
$ chown -R asterisk:asterisk /var/run/asterisk $ chown -R asterisk:asterisk /var/log/asterisk $ chown -R asterisk:asterisk /var/spool/asterisk $ chown -R asterisk:asterisk /var/lib/asterisk $ chown -R asterisk:asterisk /etc/asterisk $ chown -R asterisk:asterisk /etc/aria-server
Running Aria
Aria is installed as a systemd service. Note: Default password and username is "admin"See also: Aria Client.