Skip to content
Dennis Guse edited this page Jul 15, 2016 · 11 revisions

How to build Asterisk with STEAK extensions

In the following it is explained how to build the STEAK-enhanced Asterisk (v13.6.0). This guide was tested on Ubuntu 16.04.

For details about Asterisk and its building procedure please see here.

Please make sure that you can compile the unmodified version Asterisk itself.

Additional software requirements

ATTENTION: PJSIP must be used in version 2.4.5! Some patches for required in Asterisk to work with newer versions were not backported to v13.6.0.

###Install requirements

sudo apt install build-essential subversion git
sudo apt build-dep asterisk
sudo apt install libopus-dev libfftw3-dev 

ATTENTION: For build-dep it is required to enable the source repositories. See /etc/apt/sources.lists. After editing run sudo apt update.

###Build and install PJSIP

Download, compile, and install PJSIP v2.4.5:

svn co http://svn.pjsip.org/repos/pjproject/tags/2.4.5/
cd 2.4.5
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'
make dep && make && sudo make install

Building STEAK-enhanced Asterisk

###Download STEAK-enhanced Asterisk source code:

git clone -b steak-13.6.0 --single-branch https://github.com/steakconferencing/asterisk

###Prepare building:

cd asterisk
./bootstrap && ./configure

###Configure Disable chan_sip and enable chan_pjsip

make menuselect 

###Build and install:

make && sudo make install