Hi
There are two documents in the tarball that describe the install for both CentOS, and Debian in detail.
A2Billing is only a PHP MySQL application with a few cronjobs thrown in, once you understand how it all goes together, then anyone with a basic understanding of Linux/Apache/PHP can put this together.
The overall process is as follows:-
Install Asterisk - lots of instructions to do that, so no need to cover that here.
download the tarball, and put it in some location on your server and untar it. My preference is to use /usr/share/a2billing as a location and use symlinks, as you can upgrade everything all in one place. The latest stable version can always be found here.
https://github.com/Star2Billing/a2billi ... v1-current. You need to install PHP 5.2 at least, as well as apache & MySQL.
1. MySQL database
Create an empty database and apply the MySQL schema from the tarball, a2billing-mysql-schema-v1.7.0.sql
Apply the update scripts in order from UPDATE-a2billing-v1.7.0-to-v1.7.1.sql to the latest one.
2. Connecting A2Billing DB
Copy a2billing.conf to /etc/ and adjust the database permissions to suit your install in terms of name, username and password.
Symlink a2billing.php to /var/lib/asterisk/agi-conf
3. Web pages
My preferred method is to create entries in /etc/apache2/sites-enabled/ to alias the Customer, Agent and Admin screens in Apache, but if you prefer, you can symlink to your apache root directory.
You should now be able to access the webpages.
4 Cronjobs
Create Crontabs for each of the PHP files in the Cronjobs directory, the top of each file is commented with the suggested schedule.
The Cronjobs also create a PID file when they run, so you will need to create a directory for them to run in, e.g. /var/run/a2billing.
5 AMI ConnectionCheck the asterisk manager password in the settings in the admin UI and create an associated entry in /etc/asterisk/manager.conf
6 DialplanCreate Asterisk dial plan to suit your services, There are some samples to assist you here.
https://github.com/Star2Billing/a2billi ... lling.conf, and in the tarball.
7 Sound FilesTake the sound files, and put them in the ./asterisk/sounds/ directory. This is usually found in /var/lib/
Callback is covered in some detail elsewhere and is not applicable to everyone.
After you have installed the basics, you then need to look at securing everything down. I suggest using iptables, OSSEC or fail2ban, some HT Directory access on the admin pages is a good idea as well. Remember that running A2Billing on the internet makes you a prime target, and you could lose real money if you don't secure everything down, so if the above instructions are unintelligible to you, you maybe should consider some help.
I believe that any Linux Admin, with the most basic of asterisk understanding should be able to do this install without much difficulty.
I would agree that we are lacking in documentation, but time constraints don't allow us to create the docs we would like, but this is a community project, and we have asked on a number of occasions for the community to donate some documentation for A2Billing Admin in operating and using A2Billing. You can see the results of the contributions we have had from the links at the top of each A2Billing page in the Admin UI.
If you have followed the above instructions, then upgrading is as simple as untarring the latest tarball into /usr/share/a2billing, and applying the latest MySQL upgrade scripts in order.
I've done this from memory, so if anyone has any corrections and additions, when you are happy with the process, then we can add these instructions to the Tarball.
Joe