› VitalPBX Community Support › General Discussion › Sonata switchboard frozen on activation › Reply To: RE: Sonata switchboard frozen on activation
-
- April 2, 2018 at 5:51 pm
Posted by: vitalpbx2018I have a single host for VitalPBX and Sonata Switchboard. I access them both via a URL format like so:
VitalPBX: https://hostname1.example.com
Sonata Switchboard: https://hostname1.example.com/sonata/switchboard/
I installed Sonata Switchboard via Admin > Addons > Addons. Then purchased and activated it, then made sure all updates were applied. (This is a new installation, and I’m just working my way through the initial setup and configuration.)
Create the following script:
vim /tmp/chk_api
Paste the following content:
!/bin/bash
set -e
pbx_token=$(cat /etc/ombutel/ombutel-maint.conf)
curl -X POST -d "token=$pbx_token&key=$pbx_token" http://127.0.0.1/api/authenticateSave and give execution permission
chmod +x /tmp/chk_api
Execute and Post the Output:
/tmp/chk_api
0