- Type the following and save as file name "update-asterisk.sh":
cd /usr/src
wget http://ftp.digium.com/pub/asterisk/asterisk-$1.tar.gz
tar xvzf asterisk-$1.tar.gz
cd /usr/src/asterisk-$1
make clean
./configure
make
make install - Allow execution right of update-asterisk.sh:
# chmod +x update-asterisk.sh - Update Asterisk to 1.4.11:
# ./update-asterisk.sh 1.4.11