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 http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.12.tar.gz # tar -xzf libpri-1.4.12.tar.gz # cd libpri* # make && make install

Install DAHDI Linux and DAHDI Tools:

# wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.6.1+2.6.1.tar.gz  # tar -xzf dahdi-linux-complete-2.6.1+2.6.1.tar.gz # cd dahdi* # make && make install && make config

Get latest Asterisk 10:

# wgethttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-10.6.0-rc1.tar.gz # 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.