Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-current.tar.gz
wget -O jansson.tar.gz https://github.com/akheron/jansson/archive/v2.10.tar.gz


Code Block
titleAsterisk 15
http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1415-current.tar.gz
wget -O jansson.tar.gz https


Code Block
titleAsterisk 16
http://githubdownloads.comasterisk.org/akheronpub/janssontelephony/archive/v2.10.asterisk/asterisk-16-current.tar.gz

Compile and install DAHDI

...

Code Block
languagebash
cd /usr/src
tar xvfz asterisk-14-current.tar.gz
rm -f asterisk-14*-current.tar.gz
cd asterisk-*
contrib/scripts/install_prereq install
./configure --libdir=/usr/lib64 --with-pjproject-bundled
contrib/scripts/get_mp3_source.sh
make menuselect

You will be prompted at the point to pick which modules to build. Most of them will already be enabled, but if you want to have MP3 support (eg, for Music on Hold), you need to manually turn on 'format_mp3' on the first page.

Info

If you are using Asterisk 16, enable app_macro.


After selecting 'Save & Exit' you can then continue

...