How to Upgrade A2Billing to the Latest version

awoof

Joined
Jun 30, 2008
Messages
3
Likes
0
Points
0
#1
I finally got my calling platform upgraded to ver1.3.4 a2billing. Currently in production using elastix.
My appreciation to all members that contributed to this forum.
The following will upgrade a2billing to the most recent version. I hope that these steps will help other members to upgrade as well.
Before you start the upgrade please backup your a2billing via the administrators menu when logged in. Save that file in .tar format cos you will need it.

cd /usr/src
mkdir A2billing_133
cd A2billing_133
wget http://www.asterisk2billing.org/downloa ... 3.4.tar.gz
tar -zxvf A2Billing_1.3.4.tar.gz

mkdir /home/backup

mv -rf a2billing/ /home/backup
mv -rf a2customer/ /home/backup

cp -rf /usr/src/A2billing_133/A2Billing_UI /var/www/html
cp -rf /usr/src/A2billing_133/A2Customer_UI /var/www/html

mv /var/lib/asterisk/agi-bin/a2billing.php /home/backup
mv -rf /var/lib/asterisk/agi-bin/libs_a2billing /home/backup

cp /usr/src/A2billing_133/A2Billing_AGI/a2billing.php /var/lib/asterisk/agi-bin
cp -rf /usr/src/A2billing_133/A2Billing_AGI/libs_a2billing /var/lib/asterisk/agi-bin

######### Now chmod the smarty template folder ##################
chmod -R 777 /var/www/html/A2Billing_UI/templates_c
chmod -R 777 /var/www/html/A2BCustomer_UI/templates_c
############### Update the Database !!! Caution !!! ####################

I strongly advice you to make a Database backup via the Administrator link before going through this steps!
check in the a2billing.conf the database name used by a2billing, username and password.

mysql -u a2billinguser -pa2billing mya2billing
mysql>\. /usr/src/A2billing_134/DataBase/mysql/Mysql-5.x/UPDATE-a2billing-v1.3.3-to-v1.3.4-mysql.sql
mysql> exit

You are done..... enjoy and make some bread

Observation:
In the A2billing section of the tabbed Menu linking to A2billing platform, can someone please create a separate tab to be part of Main menu Tabs, as a2billing has additional links beside logging in to the admin section.

Missing A2billing links:
Customers interface for signing up....http://blabla.com/a2billing/signup
Customers interface login.....http://blabla.com/a2customer/index.php
Also link for forgetting password


enjoy.
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#2

sareak

Joined
Sep 1, 2009
Messages
2
Likes
0
Points
0
#3
I've upgraded to 1.3.4 following your procedure. I noted that 1.3.4 takes 10 seconds from the moment I press dial to the moment that the call is already conected. I think that in other server that i manage with 1.3.3 this time was less. Can I improve that? Is it normal?

thanks in advance for your comments
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top