Closed r9host closed 3 years ago
I'm planning to create install script.
Here is manual install instructions for FreePBX Distro to install asterlink under /opt/asterlink folder.
mkdir /opt/asterlink; cd /opt/asterlink
wget https://github.com/serfreeman1337/asterlink/releases/download/v0.1.0/asterlink_x86_64.tar.gz
tar xvf asterlink_x86_64.tar.gz && rm asterlink_x86_64.tar.gz
chmod +x asterlink
wget https://raw.githubusercontent.com/serfreeman1337/asterlink/master/conf.example.yml
mv conf.example.yml conf.yml
nano conf.yml
./asterlink
Startup script example. /etc/systemd/system/asterlink.service
[Unit]
Description=AsterLink Connector
After=freepbx.service
[Install]
WantedBy=multi-user.target
[Service]
ExecStart=/bin/sh -c 'exec /opt/asterlink/asterlink >>/opt/asterlink/app.log 2>>/opt/asterlink/err_app.log'
WorkingDirectory=/opt/asterlink
Restart=always
RestartSec=5
systemctl enable asterlink
systemctl start asterlink
You can also build binary from source.
Good afternoon, is it possible to write a more detailed readme. Describe the setting for Diaplan in more detail. For Dummies.
README does not describe how to install Asterlink on FreePBX. It is written in GoLang but FreePBX is based on PHP.