Asterisk Installation

De NCad Wiki
Aller à la navigation Aller à la recherche

Installation de Asterisk

  • Téléchargement

wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz

cd /usr/local/src

tar -zxvf asterisk-13-current.tar.gz

  • Module PjProject

wget http://www.pjsip.org/release/2.4.5/pjproject-2.4.5.tar.bz2

tar -xjvf pjproject-2.4.5.tar.bz2

cd pjproject

./configure --prefix=/usr --enable-shared --disable-sound --disable-resample
--disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'

make dep

make

make install

ldconfig

  • Vérification

ldconfig -p

cd /usr/local/src/asterisk-11.X.Y

  • Configuration

./configure
make menuselect

  • Compilation

make make install

  • Fichiers de configuration

make samples

  • Scripts d'initialisation

make config

  • Rotation des logs

make install-logrotate

Sources