To upgrade from Asterisk 11 to 13
- If Enswitch is at version 3.14 or earlier, first upgrade to 3.15.
- Make sure the latest Enswitch fixes are installed.
- 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
- 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
- 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
- If using G.729:
- enswitch install -u g729-13
- In /etc/asterisk/extensions.conf, change "extensions_enswitch_11.conf" to "extensions_enswitch_13.conf".
- 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.
- Optionally, in /etc/asterisk/sip.conf add "allow = opus" to the list of codecs allowed.
- 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.
- 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.
- On the Enswitch web interface, under Global » Settings » Configuration, set "Asterisk version" to "13".
- Reboot the Asterisk machine.
- Test calls.