Get the current Asterisk source:
# cd /usr/src
# wget http://ftp.digium.com/pub/asterisk/asterisk-1.4.10.1.tar.gz
Unpack the archives:
# tar xvzf asterisk-1.4.10.1.tar.gz
Build the Asterisk:
# cd /usr/src/asterisk-1.4.10.1
# make clean
#./configure
# make
# make upgrade