Install asterBilling on your server
Download and unzip the source
cd /var/www/html
wget http://voxel.dl.sourceforge.net/sourceforge/astercc/astercc-0.09beta.zip
unzip astercc-0.09beta.zip
mv astercc-0.09beta astercc
Create the directories and move astercc daemon scripts:
mkdir -p /opt/asterisk/scripts/astercc/
mv /var/www/html/astercc/daemons/* /opt/asterisk/scripts/astercc/
chmod +x /opt/asterisk/scripts/astercc/astercc
chmod +x /opt/asterisk/scripts/astercc/asterrc
chmod +x /opt/asterisk/scripts/astercc/asterccd
Create the MySQL database and table, asterCC need mysql 4.1 or above
mysqladmin -uyourmysqluser -pyourmysqlpasswd create astercc
mysql -uyourmysqluser -pyourmysqlpasswd astercc
Note: here we create the database named astercc, [...]