Are you sure you are not mixing up a 1.3 install with a 1.4 install.
In 1.3, the a2billing.conf was in /etc/asterisk/a2billing.conf, and in 1.4, it is to be found in /etc/a2billing.conf, and it should look like this:-
Code:
;
; A2Billing config file
;
; Global Database Setup - select the database type and authentication as required.
[database]
hostname = localhost
; port for postgres is 5432 by default
port =
user = a2bdbuser
password = a2bdbpassw
dbname = a2billing14
; dbtype setting can either be mysql or postgres
dbtype = mysql
; config for the daemon process
[daemon-info]
uid =
gid =
pidfile = /var/run/a2billing/a2b-callback-daemon.pid
;pidfile = ./a2b-callback-daemon.pid
; config for the logger
; article on http://www.red-dove.com/python_logging.html
[loggers]
keys=root,callbackLogger
[handlers]
keys=consoleHandler,FileHandler,RotatingFileHandler
[formatters]
keys=callbackFormatter
[logger_root]
;level=DEBUG
level=INFO
handlers=consoleHandler,RotatingFileHandler
[logger_callbackLogger]
;level=DEBUG
level=INFO
handlers=consoleHandler,RotatingFileHandler
qualname=callbackLogger
propagate=0
[handler_consoleHandler]
class=StreamHandler
;level=DEBUG
level=INFO
formatter=callbackFormatter
args=(sys.stdout,)
[handler_FileHandler]
class=FileHandler
level=DEBUG
formatter=callbackFormatter
args=('/var/log/a2billing/a2b-callback-daemon.log', 'a')
filename=/var/log/a2billing/a2b-callback-daemon.log
mode=a
[handler_RotatingFileHandler]
;class=handlers.RotatingFileHandler
class=handlers.TimedRotatingFileHandler
level=DEBUG
formatter=callbackFormatter
; TimedRotatingFileHandler
args=('/var/log/a2billing/a2b-callback-daemon.log', 'midnight', 1)
[formatter_callbackFormatter]
format="%(asctime)s - %(name)s - %(threadName)-10s - %(levelname)s - %(message)s"
datefmt=