a2billing will become slow when server has many calls
the problem is each call come in,it will invoke php progress to run a2billing.php ,it's slow
I will use dbquery() in extensions.conf ,it will introduce complexicity in extensions.conf ,because it will move a2biling agi logic to extensions.conf .
but it's worthwhile ,because it just took some hours to write extensions.conf,then you will get high speed
dbquery() is one asterisk application ,I found it in voip-info.org
besides dbquery() solution ,realtime update/query ,func_odbc is another solutions
use such solution ,we can keep a2billing web parts unchange
working configs below (only for SIP2PSTN CALL,NO CALLINGCARD)
http://www.allvoipsolutions.org/mydrupal/node/224#comment-11
comment welcome,so I can improve,
maybe we also need config such as max open filehandle in linux,max mysql connection ,etc,because not sure they're needed or not.