× Questions about B100/200/400/800 ISDN BRI Cards

Installing Bristuff in a TRIXBOX environment

12 years 3 months ago #286 by miaolin
First we will need internet connection to download kernel, asterisk sources and update the operating system.

We get our bristuff patches at:
wget 212.91.251.199/~junghanns.net/downloads/....3.0-PRE-1y-e.tar.gz

Unpacking the sources and accessing the directory with:
tar zxvf bristuff-0.3.0-PRE-1y-e.tar.gz
cd bristuff-0.3.0-PRE-1y-e


Downloading asterisk and it's components and patching with bristuff
./download.sh

Now we set up the yum package management tool to disable trixbox repos, and get the latest kernel and sources.

We edit /etc/yum.repos.d/trixboxbeta.repo and leave like:

[trixbox]
name=trixbox RPM Repository for CentOS and RHEL
baseurl=http://yum.trixbox.org/centos/$releasever/RPMS/
gpgcheck=0
enabled=0


Now we edit /etc/yum.repos.d/CentOS-Base.repo

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#exclude=kernel*
#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#exclude=kernel*
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
exclude=kernel*
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
exclude=kernel*
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4


Now we update CentOS with:

yum update

When our system will be up to date we need to download kernel sources with:

yum install kernel-devel

Creating symlinks to kernel sources

ln -s kernels/2.6.9-42.0.10.EL-i686 linux-2.6
ln -s kernels/2.6.9-42.0.10.EL-i686 linux


Here it's important to reboot the system and boot from the new kernel
Compiling and installing bristuff

mv /usr/lib/asterisk/modules /usr/lib/asterisk/modules_old
./compile.sh


Now we have a bristuff Asterisk compiled in a trixbox environment.

Draft made by Xavier Jiménez Vives
- CapaTres S.L. -
12 years 3 months ago #287 by miaolin
to use openvox b400p with trixbox and bristuff, replace the qozap.c before run ./compile.sh

also you should edit /etc/sysconfig/zaptel, comment out all the modules, add qozap module into it.
Time to create page: 0.080 seconds
Powered by Kunena Forum