Upgrdaing Asterisk 1.6.0


#1

Hi all,

[color=#0000BF]I need to upgrade from Asterisk 1.6.0 to Asterisk 1.6.2 [/color]

Now it seems when I try do a ./configure within the folder of the new Asterisk 1.6.2 install to update the following happens.

[color=#0000FF]All i want to be able to do is :[/color]

cd /asterisk-1.6.2.0/
make clean

./configure

Error occurs -----> Requiring gcc gcc-c++

make menuselect
make
make install

[color=#0000BF]It requires the following :[/color]

To get those I have to do a yum install

yum install gcc gcc-c++

The problem is I have CentOS 5.5 and I am not having any joy in finding a solution to this =/

Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist mirrorlist.centos.org/?release=5&arch=i386& repo=addons error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: addons

[color=#0000FF]My yum repo for addon looks like this:[/color]
#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-CentOS-5

Now I’ve checked these urls and noticed that none of this is actually there? =(

Is this because CentOS really has no more support for this? And if so… Must I update to the latest 6.0

What affect will this have on my Asterisk?

Must I update using a downloaded ISO… As this seems to be preventing my yum update totally.

[color=#0000BF]I know this isn’t really Asterisk related… but its causing Asterisk 1.6.2 to not install

Is there a easier work around?

Or am I doing something horrifically wrong? =D

I’m just trying to upgrade… I do not want to loose my configuration. Haven’t found a clear tutorial on upgrading Asterisk either? But I have read that you just need to compile and install? =/[/color]

{
I can ping out
I get DNS replies
My wget works
}


#2

CentOS 5.5 is indeed outdated, but there’s no need to upgrade it to 6.0 (which may in some configurations lead to problems). Instead You should probably upgrade to 5.6, just take a look at http://www.techkaki.com/2011/04/how-to-upgrade-centos-5-5-to-centos-5-6/ and see if it works for You.


#3

Both 1.6.0 and 1.6.2 are no longer supported. You should be upgrading to 1.8.6.

CentOS do seem to age out their yum repositories quite quickly. They assume you operate in a Windows home desktop mode, in which you always have the very latest versions, but that is not good for a server.

We had to create a local yum server to ensure that all our customer systems were to the same build level.


#4

I’m afraid of upgrading to asterisk 1.8.6 or anything beyond asterisk 1.6.2 will create unneeded issues.

I am trying to fix an issue with external numbers not working within a ringroups or followmes.

Was recommended to update to asterisk 1.6.2

But it seems to be a lot of work just to solve it.

e.g

#084 23 23 546

Never reaches the external number

Always goes to voicemail


#5

You have verified you aren’t behind a proxy server, right?

In my organization I have to set the proxy to get yum to see the repos, or I get the error you are seeing.

Something like this works for me, done prior to yum install :
"export HTTP_PROXY=“http://:@proxy_addr:proxy_port”
"export HTTPS_PROXY=“https://:@proxy_addr:proxy_port”

Btw, if you also set the lower case http_proxy environmental variable, you can also use “make install” to download the audio files and firmware in asterisk/dahdi.

-Brian


#6

Hi,

There is no proxy in use. =/
Tho I think I will need to update to the next CentOS
I have just download the DVD.
Going to go over the process on how to update from it.
Thanks for the reply!