To upgrade from Asterisk 1.8 to 11

  1. If Enswitch is at version 3.9 or earlier, first upgrade to 3.10 or later.
  2. Make sure the latest Enswitch fixes are installed.
  3. If running Debian or Ubuntu, do:
    • apt-get install sqlite3 libsqlite3-dev
  4. If running CentOS, Fedora, or Redhat, do:
    • yum -y install sqlite-devel
  5. 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
  6. If using G.729, do:
    • enswitch install -u g729-11
  7. In /etc/asterisk/extensions.conf, change "extensions_enswitch_18.conf" to "extensions_enswitch_11.conf".
  8. On the Enswitch web interface, under System » Configuration, set "Asterisk version" to "11".
  9. Reboot the Asterisk machine.
  10. Test calls.