apt-get update && apt-get upgrade -y && reboot
apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev
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-1.4-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
cd /usr/src/dahdi-linux-complete*
make && make install && make config
cd /usr/src/libpri*
make && make install
cd /usr/src/asterisk*
For mp3 support :
contrib/scripts/get_mp3_source.sh
Do not forgot about Failed to authenticate device
For KVM virtual:
./configure CFLAGS=-mtune=native && make menuselect && make && make install && make config && make samples
apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev
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-1.4-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
cd /usr/src/dahdi-linux-complete*
make && make install && make config
cd /usr/src/libpri*
make && make install
cd /usr/src/asterisk*
For mp3 support :
contrib/scripts/get_mp3_source.sh
Do not forgot about Failed to authenticate device
For KVM virtual:
./configure CFLAGS=-mtune=native && make menuselect && make && make install && make config && make samples
For x64 bit :
./configure --libdir=/usr/lib64 && make menuselect && make && make install && make config && make samples
For x32 bit :
./configure && make menuselect && make && make install && make config && make samples
/etc/init.d/dahdi start
/etc/init.d/asterisk start
asterisk -rvvv
*CLI> dahdi show version
DAHDI Version: 2.6.1 Echo Canceller: HWEC
*CLI> pri show version
libpri version: 1.4.13
./configure --libdir=/usr/lib64 && make menuselect && make && make install && make config && make samples
For x32 bit :
./configure && make menuselect && make && make install && make config && make samples
/etc/init.d/dahdi start
/etc/init.d/asterisk start
asterisk -rvvv
*CLI> dahdi show version
DAHDI Version: 2.6.1 Echo Canceller: HWEC
*CLI> pri show version
libpri version: 1.4.13
Комментариев нет:
Отправить комментарий