4 Knowledge Base

 

 TelecomTrainning.net > Knowledge Base
 Viewing KB Article
Good Evening, - Please register or - log-in to your account.
Search
Search   Saved Questions   Ask a question
Keywords 
 
Available categories
LTE
100 of Questions in LTE
CCNA Certification
CCNA Sample Q & A (1000 + Q &A)
(Network +) Certification
(Network +) Sample Q & A (1000 + Q &A)
Networking
General/Interview Q& A on Networking
Home Networking
General/Interview Q& A on Networking
VOIP, SIP & Asterisk
Q & A on VOIP,Ethereal, SIP & Asterisk
Telecom Test Equipments
Q & A on Telecom Test Equipment
PSTN / Wireline
General / Interview Q & A on PSTN / Wireline
LTE, Wireless, 3G ,Diameter and HSS
General/Interview Q & A on LTE, Wireless, 3G ,Diameter and HSS
Telecom General
Any Q & A in Telecom in General

Top Questions
Friends, Describe Secure storage and distribution of A-Keys?
what is the difference between E1 signal & Ethernet signal ?
How do I monitor SS7 Traffic in spectra2?
Can you tell me about PBGT?
Explain me the difference between a repeater, bridge and router? Relate this to the OSI model.
What is the difference between BRI & PRI ?
Guys what is the purpose of Umbrella Cell Approach in GSM ?
how can we explain media gateway in MSc?
What is GGSN?
What is the difference between Electrical-tilt and Mechanical-tilt of an antenna?
What is BSC?
What is demarc point?
Can any one explain me how sms flow will work using ss7 network ?( from physical layer to application layer)
why cellphone towers are painted in red and white?
Explain SLTA and SLTM messages in MTP3?
Hi guys what is WAP?
wat is the difference betweem MSC & GMSC, & MSS & GCS?
what is EDAp? what is the functions of EDAP?
What is a circuit id?
what is sdh?

Guys,What is the purpose of command "make upgrade" in Asterisk?
sagitraz 27-August-2008 11:53:21 AM

Comments


The Asterisk project is a work in progress. Almost every day there are updates to the source files.
Those updates implements bug fixes, performance improvements or new features. If you want to keep up with the latest developments you have to update Asterisk. In this section I will show you how.

Update Asterisk manualy.

On the command line type
# cd /usr/src/asterisk
# make upgrade
this will download the newest source files for Asterisk
When all the new files are downloaded, you must recompile Asterisk. Type
# make clean; make install
this will delete the previous compiled objects, and start the build process
Now your PBX is up-to-date, but you should also update the zaptel and the libpri modules. For those modules there isn’t a make upgrade command!

Update zaptel en libpri from the cvs.

On the command line type
# cd /usr/src
# export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
# cvs login
# cvs update zaptel libpri
# cd /usr/src/zaptel
# make clean; make install
# cd /usr/src/libpri
# make clean; make install

Update Asterisk with a script

Leif Madsen wrote a script to install and update asterisk via a script. The script was modified and released as asterisk-update.sh by Steve Szmidt and can be found at http://www.szmidt.org/asterisk/asterisk-update.sh
You can download and execute the script with the following commands
# cd /usr/src
# wget http://www.szmidt.org/asterisk/asterisk-update.sh
# ./asterisk-update.sh update

Note :

when you get this error
# bash: ./asterisk-update.sh: /bin/bash: bad interpreter: Permission denied

you have to give yourself permission to execute that script with :
# chmod 777 asterisk-update.sh

Posted by jackson


Note: Doing this improperly may break your system, so I don't recommend doing this unless you have a complete backup and know how to fix what you break.

Note 2: Do NOT just upgrade to the very latest version of Asterisk unless you are CERTAIN that version works with FreePBX. If you are using an older version of FreePBX (2.2.x or earlier) you should not even consider upgrading to the 1.4 branch of Asterisk. Instead, use the latest Asterisk version in the 1.2 branch. On the other hand, if you are using a current FreePBX version (2.3.x or later), you may be able to use a version of Asterisk in the 1.4 branch. The instructions below assume that you are sticking with the 1.2 branch of Asterisk for the time being.

Note 3: Trixbox users should be aware that upgrading could cause some Trixbox-specific features to stop working (such as the weather forecast) - if that happens, it's your responsibility to figure out what to do to get those features working again. Also, Trixbox apparently doesn't include kernel source code in their distributions, and it is needed to successfully compile Asterisk, so Trixbox users may need to do yum -y install kernel-devel kernel from the command prompt prior to continuing with these instructions.

That said, here is the best information I have found on upgrading Asterisk. Before you do this, you may want to use your web browser to navigate to the following directories to see if there are later versions in the same branch as the version shown below - if so, you may want to try the newer version:

http://ftp.digium.com/pub/asterisk/releases/
http://ftp.digium.com/pub/zaptel/releases/
http://ftp.digium.com/pub/libpri/releases/

(libpri is really only necessary if you have a T1, but it may already be installed on your system and if so, you probably want to update it.)
Posted by jackson

Q&A Rating

Q&A Rating
Rate This Question and Answer

Related Questions
Explain ISUP (ISDN User Part of SS7)
 
I want to monitor the packets between SIP clients (PC) going out. Should I use Hub or Switch?
What is WAN? Explain its Technology?
 


Search questions via popularity
Top viewed questions  Top emailed questions  Most printed questions  Most saved questions
 
Copyright © Telecom Training, All Rights Reserved