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
- If Enswitch is at version 3.15 or earlier, first upgrade to 4.0.
- Make sure the latest Enswitch fixes are installed.
- If running Debian or Ubuntu, do:
- 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
- If running CentOS, Fedora, or Redhat, do:
- 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
- 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
- If using G.729, do:
- enswitch install -u g729-16
- In /etc/asterisk/extensions.conf, change "extensions_enswitch_13.conf" to "extensions_enswitch_16.conf".
- On the Enswitch web interface, under Global » Settings » Configuration, set "Asterisk version" to "16".
- Reboot the Asterisk machine.
- Test calls.