serfreeman1337 / asterlink

Asterisk integration with Bitrix24 and SuiteCRM
MIT License
29 stars 18 forks source link

README is incomplete! #1

Closed r9host closed 3 years ago

r9host commented 4 years ago

README does not describe how to install Asterlink on FreePBX. It is written in GoLang but FreePBX is based on PHP.

serfreeman1337 commented 4 years ago

I'm planning to create install script.

Here is manual install instructions for FreePBX Distro to install asterlink under /opt/asterlink folder.

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.

Go0dwInD commented 4 years ago

Good afternoon, is it possible to write a more detailed readme. Describe the setting for Diaplan in more detail. For Dummies.