Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: apmuthu on December 14, 2009, 01:18:57 PM

Title: Asterisk 1.6.2.x with SAIL 2.4.1-x
Post by: apmuthu on December 14, 2009, 01:18:57 PM
After following the thread (http://forums.contribs.org/index.php/topic,44375.0.html) on early adoption, given here is the summary gleaned for moving forward:
Code: [Select]
yum update -y
signal-event post-upgrade
signal-event reboot

yum install gcc gcc-c++ ncurses-devel kernel-devel
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.0-rc8.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.2.0-rc2.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-sounds-1.2.1.tar.gz

tar -zxvf asterisk-1.6.2.0-rc8.tar.gz
tar -zxvf dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
tar -zxvf asterisk-addons-1.6.2.0-rc2.tar.gz
tar -zxvf asterisk-sounds-1.2.1.tar.gz

## Alter with details of your kernel
## # uname -a
## Linux smeve01 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux

ln -s /usr/src/kernels/2.6.18-164.6.1.el5-i686 linux

cd /usr/src/dahdi-linux-complete-2.2.0.2+2.2.0
make all
make install
make config

cd /usr/src/asterisk-1.6.2.0-rc8
./configure
make menuselect
## In the menu we can add a few more audio files for other codecs
make; make install
make samples
make config

cd /usr/src/asterisk-addons-1.6.2.0-rc2
./configure
make
make install

cd /usr/src

## In Asterisk v1.6 - The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
## Corrected in versions of SAIL later than 2.3.2-15 onwards
wget http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
rpm -Uvh perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm

wget http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-2.noarch.rpm
yum localinstall sail-2.4.1-2.noarch.rpm --enablerepo=base

/etc/init.d/sark stop
/etc/init.d/sark start
/etc/init.d/sark stop
reboot
yum remove gcc gcc-c++ ncurses-devel kernel-devel

Is DAHDI necessary at all if we are only going to use it without any Digium or other cards?
Title: Re: Asterisk 1.6.2.x with SAIL 2.4.1-x
Post by: Franco on December 14, 2009, 01:31:48 PM
And how about the functionality of the panel managing asterisk? Does 2.4.1 resolve the previous issues about the change in the code?

Thanks,
Title: Re: Asterisk 1.6.2.x with SAIL 2.4.1-x
Post by: apmuthu on December 14, 2009, 01:39:57 PM
After 7 hours of updation, and only 3 lines into the script, my kernel now is:
Code: [Select]
kernel.i686 0:2.6.18-164.6.1.el5
I will be completing the exercise by tomorrow and will let you know.
I am working on a Full QEMU KVM in ProxMox (http://pve.proxmox.org) v1.4.
The script above is only a starting point and I am yet to complete testing it.
Title: Re: Asterisk 1.6.2.x with SAIL 2.4.1-x
Post by: SARK devs on December 14, 2009, 04:29:03 PM

2.4 is designed to run on Asterisk 1.4 so I'm not sure why you are installing 1.6.  I suspect you will have problems with the AGI and extensions.conf code due to the changes which the Asterisk developers made between 1.4 and 1.6.

In theory you don't need DAHDI if you aren't running any telephony boards, in practice you do, at least in 1.4, because it provides Asterisk's timing source.  Without it, things like conference rooms won't work, although this may not be true in 1.6.

Kind Regards

S

Title: Re: Asterisk 1.6.2.x with SAIL 2.4.1-x
Post by: apmuthu on December 15, 2009, 04:01:11 AM
Thanks for the info. I have already hit a roadblock at:
Code: [Select]
cd /usr/src/asterisk-1.6.2.0-rc8
./configure
I get the error at this stage that libxml2 is not installed. Trying a
Code: [Select]
yum install libxml2 results in nothing to do as
Code: [Select]
Package libxml2-2.6.26-2.1.2.8.i386 already installed and latest version
Is the SAIL v2.3.2-19 compatible with Asterisk v1.6.x ?
Title: Re: Asterisk 1.6.2.x with SAIL 2.4.1-x
Post by: SARK devs on December 15, 2009, 09:50:46 AM
No it isn't.  See my previous post in this thread.

Kind Regards