yum -y update
reboot
vi /etc/selinux/config SELINUX=disabled
yum -y install curl-devel bind-utils system-config-securitylevel kernel kernel-devel kernel-smp-devel kernel-smp openssl-devel openssl gcc gcc-c++ gtk+ gtk+-devel libtermcap-devel newt-devel ncurses-devel mysql mysql-server mysql-devel mysql-server-devel php-mysql httpd ntp wget screen
wget http://asterisk14.co.nf/asterisk14script.txt
chmod +x asterisk14script.txt
./asterisk14script.txt
This script will install the final LTS release of Asterisk 1.4.44 on your Centos box. All you do after this is edit your sip.conf and extensions.conf files in /etc/asterisk folder and you should be good to go!
Sample extensions.conf and sip.conf are linked below.
http://asterisk14.co.nf/extensions.conf
http://asterisk14.co.nf/sip.conf
Program sipphone #1: username 101 password 101 IP: your VPS IP
Program sipphone #2: username 201 password 202 IP : your VPS IP
Testing
1) If you call 202 from sipphone 1 - it should ring sipphone 2
2) Call 3246 from any sipphone - this will echo back everything you say so you can test two way audio and latency.