cd /root
export PGPASSWORD='proformatique'; pg_dump -U asterisk asterisk > wazo-17.09.pgsql
cd /
tar zcvf incrediblepbx-17.09.tar.gz /root/wazo-17.09.pgsql /etc/asterisk /var/www/html/reminders /var/www/html/asteridex4
cd /
xivo-service stop
chattr -i /root/*
tar zxvf incrediblepbx-17.09.tar.gz
chown -R asterisk:www-data /etc/asterisk
chmod 660 /etc/asterisk
chmod 664 /etc/asterisk/extensions_extra.d
chmod g-s /etc/asterisk/extensions_extra.d/..
chmod g-s /etc/asterisk/extensions_extra.d
chmod 2775 /etc/asterisk/extensions_extra.d
chmod 2775 /etc/asterisk/extensions_extra.d/..
cd /root
sudo -u postgres psql postgres -c "DROP DATABASE asterisk"
sudo -u postgres psql postgres -c "CREATE DATABASE asterisk"
sudo -u postgres psql postgres -d asterisk -f wazo-17.09.pgsql
/etc/init.d/asterisk reload
xivo-service start
xivo-update-keys
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.