Installing asterisk 10.6.0 on DEBIAN SQUEEZE

Install dependencies:

# apt-get install linux-headers-$(uname -r) build-essential libxml2-dev libncurses5-dev libsqlite3-dev libssl-dev libsrtp0-dev unixodbc-dev

Since version 1.8 Asterisk is using unixODBC for storing CDR and CEL data into database. Old MySQL backend, cdr_mysql, is still supported. Also I’m installing libsrtp0-dev to successfully compile core channel chan_sip. This is also required since 1.8 version because of secure RTP support.

Go to /usr/src/ and install LibPRI:

# wget # tar -xzf libpri-1.4.12.tar.gz # cd libpri* # make && make install

Install DAHDI Linux and DAHDI Tools:

# wget  # tar -xzf dahdi-linux-complete-2.6.1+2.6.1.tar.gz # cd dahdi* # make && make install && make config

Get latest Asterisk 10:

# wget # tar -xzf asterisk-10.6.0-rc1.tar.gz # cd asterisk* # ./configure && make menuselect

Choose needed modules and compile Asterisk:

# make && make install && make config && make install-logrotate

, ,

Comments are closed.