Asterisk 16 requires libjansson >= 2.11, which is not packaged with Ubuntu before 18.04, or CentOS before version 8. When it is known that libjansson >= 2.11 is not available as an operating system package, the Enswitch installer will configure the Asterisk installer to download it from the Internet.

To upgrade from Asterisk 13 to 16

  1. If Enswitch is at version 3.15 or earlier, first upgrade to 4.0.
  2. Make sure the latest Enswitch fixes are installed.
  3. If running Debian or Ubuntu:
    • apt-get install autoconf bzip2 libcurl4-openssl-dev libedit-dev libgsm1-dev libjansson-dev libltdl7 libltdl-dev libnewt-dev libpng-dev libsox-fmt-all libsqlite3-dev libsrtp0-dev libspandsp2 libspandsp-dev libxml2-dev linux-headers-`uname -r` pkg-config sox sqlite3 uuid-dev xmlstarlet
  4. If running CentOS, Fedora, or Redhat:
    • yum -y install autoconf automake bzip2 gsm-devel jansson-devel kernel-devel libcurl-devel libedit-devel libpng-devel libsrtp-devel libtiff-tools libtool libtool-ltdl libtool-ltdl-devel libuuid-devel libxml2-devel newt-devel speex-devel sox sqlite-devel spandsp spandsp-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-13
    • enswitch install -u asterisk-16
  6. If using G.729:
    • enswitch install -u g729-16
  7. In /etc/asterisk/extensions.conf, change "extensions_enswitch_13.conf" to "extensions_enswitch_16.conf".
  8. On the Enswitch web interface, under Global » Settings » Configuration, set "Asterisk version" to "16".
  9. Reboot the Asterisk machine.
  10. Test calls.