To upgrade from Asterisk 1.8 to 11

  1. Make sure the latest Enswitch fixes are installed.
  2. If running Debian or Ubuntu, do:
    • apt-get install sqlite3 libsqlite3-dev libspandsp2 libspandsp-dev
  3. If running CentOS, Fedora, or Redhat, do:
    • yum -y install sqlite-devel spandsp spandsp-devel
  4. Do:
    • ls -l /usr/lib/asterisk/modules/codec_g729* # To check if G.729 is in use.
    • mv /usr/lib/asterisk/modules /usr/lib/asterisk/modules-1.8
    • enswitch install -u asterisk-11
    • astdb2sqlite3 /var/lib/asterisk/astdb
  5. If using G.729, do:
    • enswitch install -u g729-11
  6. In /etc/asterisk/extensions.conf, change "extensions_enswitch_18.conf" to "extensions_enswitch_11.conf".
  7. On the Enswitch web interface, under Global » Settings » Configuration, set "Asterisk version" to "11".
  8. Reboot the Asterisk machine.
  9. Test calls.