Wednesday, August 22, 2007

Script to Update Asterisk

  1. 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
  2. Allow execution right of update-asterisk.sh:
    # chmod +x update-asterisk.sh
  3. Update Asterisk to 1.4.11:
    # ./update-asterisk.sh 1.4.11