asterisk2billing.org http://forum.asterisk2billing.org/ |
|
a2billing 1.5.1 - Postpaid doesn't work http://forum.asterisk2billing.org/viewtopic.php?f=21&t=7061 |
Page 1 of 1 |
Author: | a2user [ Tue Feb 09, 2010 5:02 pm ] |
Post subject: | a2billing 1.5.1 - Postpaid doesn't work |
I have installed and configure a2billing version 1.5.1. I have created several customers with postpaid card type. Eventhough they are postpaid, each time a I try to do a call I get the same error: prepaid-no-enough-credit-stop If I put a high credit limit, when I call to a destination number, the system tells me the credit I still have and then asks me to dial a destination. <SIP/8361219290-b795aca8>AGI Rx << STREAM FILE prepaid-you-have "#" 0 -- <SIP/8361219290-b795aca8> Playing 'prepaid-enter-dest.gsm' (language 'es') like if it was a prepaid account. Any ideas? I would like to dial a number, not to listen any prompts, and asterisk to bridge the call to the destination through the proper trunk. Regards I |
Author: | jroper [ Tue Feb 09, 2010 6:21 pm ] |
Post subject: | Re: a2billing 1.5.1 - Postpaid doesn't work |
Hi The agi-conf controls the call in progress. Read the settings and adjust to suit, staring with use_dnid =yes, and turning off the voice prompts Joe |
Author: | a2user [ Wed Feb 10, 2010 8:41 am ] |
Post subject: | Re: a2billing 1.5.1 - Postpaid doesn't work |
The problem is that in version 1.5 file a2billing.conf doesn't look like that.... It'like this: ; Global Database Setup - select the database type and authentication as required. [database] hostname = localhost ; port for postgres is 5432 by default port = 3306 user = a2billinguser password = a2billing dbname = mya2billing ; 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= |
Author: | jroper [ Wed Feb 10, 2010 8:56 am ] |
Post subject: | Re: a2billing 1.5.1 - Postpaid doesn't work |
The agi-conf is database driven, under global settings in A2Billing Admin UI Joe |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |