asterisk2billing.org
http://forum.asterisk2billing.org/

A2billing concurrency
http://forum.asterisk2billing.org/viewtopic.php?f=35&t=9899
Page 1 of 1

Author:  bbull [ Sat Jun 30, 2012 2:57 pm ]
Post subject:  A2billing concurrency

Hi,
If the amount of a2billing concurrency is over 150 ,How can I handle?
Can I create two sets of a2billing share a mysql database, some users is registered to a set of a2billing and some users is registered to another set of a2billing.Whether it can improve the amount of concurrency?

thanks

Author:  jroper [ Mon Jul 02, 2012 8:24 am ]
Post subject:  Re: A2billing concurrency

Hi

I would doubt that this would increase your call concurrency.

Start by optimising your mysql database to handle many connections, and stop uneeded services.

When you Can do no more, split the asterisk server away from the db server, and add asterisk servers to suit.

Joe

Author:  bbull [ Wed Jul 04, 2012 1:59 pm ]
Post subject:  Re: A2billing concurrency

hi,
how do I split the asterisk server away from the db server, and add asterisk servers ?
I have no ideas,please help me ,thanks

Author:  jroper [ Thu Jul 05, 2012 9:03 am ]
Post subject:  Re: A2billing concurrency

Install Asterisk and a2billing.php, plus associated dependencies, then use Asterisk realtime, and edit the realtime database credentials to suit, and edit /etc/a2billing.conf DB credentials to point at the remote database.

Joe

Author:  bbull [ Fri Jul 06, 2012 1:39 am ]
Post subject:  Re: A2billing concurrency

hi ,
thanks for your answers.Blove is I plus associated dependencies between the asterisk and a2billing.php,you look whether
it can work. thanks
Quote:
1.Edit the a2billing.conf configuration file
cp /usr/local/src/a2billing/a2billing.conf /etc/
vi /etc/a2billing.conf
[database] hostname =romote port = 3306 user = a2billinguser
password = a2billing dbname = mya2billing dbtype = mysql
2.SIP and IAX
touch /etc/asterisk/additional_a2billing_sip.conf
touch /etc/asterisk/additional_a2billing_iax.conf
echo #include additional_a2billing_sip.conf >> /etc/asterisk/sip.conf
echo #include additional_a2billing_iax.conf >> /etc/asterisk/iax.conf
3.Sound files
/usr/local/src/a2billing/addons/install_a2b_sounds_deb.sh
chown -R asterisk:asterisk /usr/share/asterisk/sounds/
4.Configure Asterisk Manager
vi /etc/asterisk/manager.conf
[general]
enabled = yes port = 5038 bindaddr = 0.0.0.0
[myasterisk]
secret=mycode
read=system,call,log,verbose,command,agent,user
write=system,call,log,verbose,command,agent,user
5.Install The AGI components
cd /usr/local/src/a2billing/AGI
cp a2billing.php /usr/share/asterisk/agi-bin/
cp a2billing-monitoring.php /usr/share/asterisk/agi-bin/
cp -Rf lib /usr/share/asterisk/agi-bin/

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/