Uninstalling sipXecs

The following procedure will get sipXecs uninstalled on CentOS or Fedora operating systems:

service sipxecs stop
service postgresql stop
yum remove sipxportlib
rm -rf /etc/sipxpbx
rm -rf /var/sipxdata
rm -rf /var/log/sipxpbx
rm -rf /var/lib/pgsql/data/*
rm -rf /var/run/sipxpbx

service mongod stop
rm -rf /var/lib/mongodb/*

To re-install sipXecs do this:

yum install sipxecs
sipxecs-setup-system

If you have a previously generated certificate:

cd (directory where you generated the certificate)
/usr/bin/ssl-cert/install-cert.sh
service sipxecs start

If you need to generate a new certificate: http://wiki.sipfoundry.org/display/sipXecs/SSL+Certificates

mkdir $HOME/ssl-cert
cd $HOME/ssl-cert
/usr/bin/ssl-cert/generate-cert.sh (follow prompts)
/usr/bin/ssl-cert/install-cert.sh
service sipxecs start