To upgrade from Asterisk 11 to 13

  1. If Enswitch is at version 3.14 or earlier, first upgrade to 3.15.
  2. Make sure the latest Enswitch fixes are installed.
  3. If running Debian or Ubuntu:
    • apt-get install libcurl4-openssl-dev libgsm1-dev libjansson-dev libltdl7 libltdl-dev libpng-dev libspeex-dev libsqlite3-dev libsrtp0-dev libxml2-dev pkg-config sqlite3 uuid-dev xmlstarlet
  4. If running CentOS, Fedora, or Redhat:
    • yum -y install autoconf automake gsm-devel jansson-devel libcurl-devel libpng-devel libsrtp-devel libtool libtool-ltdl libtool-ltdl-devel libuuid-devel speex-devel sqlite-devel uuid-devel xmlstarlet
  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-11
    • enswitch install -u asterisk-13
  6. If using G.729:
    • enswitch install -u g729-13
  7. In /etc/asterisk/extensions.conf, change "extensions_enswitch_11.conf" to "extensions_enswitch_13.conf".
  8. In /etc/asterisk/extensions.conf and any custom dialplan files included, remove the 'h' extension lines. A new "end" extension in extensions_enswitch_13.conf is used instead.
  9. Optionally, in /etc/asterisk/sip.conf add "allow = opus" to the list of codecs allowed.
  10. Review /etc/asterisk/features.conf for changes, apply any changes found to /etc/asterisk/res_parking.conf, then delete all lines in the [general] section of features.conf.
  11. Evaluate if changes to the blind transfer and attended transfer keys may be needed in the /etc/asterisk/features.conf file. They are respectively named "blindxfer" and "atxfer" and are located under the [featuremap] section.
  12. On the Enswitch web interface, under Global » Settings » Configuration, set "Asterisk version" to "13".
  13. Reboot the Asterisk machine.
  14. Test calls.