Nota Bene:
la seguente procedura NON รจ ufficialmente supportata, pertanto non deve essere fornita al rivenditore.
Se ci viene chiesto come rimuovere NethVoice 14, dobbiamo accedere e provvedere direttamente noi.


unset HISTFILE

yum clean all && yum remove @nethserver-nethvoice14 nethserver-freepbx nethserver-tancredi asterisk\* libsrtp\* nethcti3 nethvoice\* rh-php56\* rh-nodejs10\*

rm -fr /var/lib/asterisk/ /var/spool/asterisk /etc/asterisk /var/www/html/freepbx /etc/freepbx.conf /etc/amportal.conf /etc/nethcti /usr/lib/node/nethcti-server/ /var/lib/tancredi

for FILE in /etc/freepbx.conf /var/log/asterisk/ /var/spool/cron/asterisk /var/lib/asterisk /var/spool/asterisk /etc/asterisk /etc/httpd/conf.d/freepbx.conf /var/www/html/freepbx /etc/amportal.conf /opt/janus /var/www/html/cti /etc/nethcti /etc/httpd/fpbx-conf /etc/httpd/conf.d/nethvoice.conf /usr/lib/node/nethcti-server; do if [[ -e $FILE ]]; then rm -fr $FILE; fi; done

mysql -e "drop database asterisk"
mysql -e "drop database asteriskcdrdb"
mysql -e "drop database nethcti3"

config delete asterisk
config delete flexisip-proxy
config delete janus-gateway
config delete nethcti
config delete nethcti-server
config delete nethvoice
config delete nethvoice-alerts
config delete nethvoice-report-api
config delete rh-php56-php-fpm