Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 7:52 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: a2billing 1.5.1 - Postpaid doesn't work
PostPosted: Tue Feb 09, 2010 5:02 pm 
Offline

Joined: Tue Feb 09, 2010 4:57 pm
Posts: 19
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


Top
 Profile  
 
 Post subject: Re: a2billing 1.5.1 - Postpaid doesn't work
PostPosted: Tue Feb 09, 2010 6:21 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
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


Top
 Profile  
 
 Post subject: Re: a2billing 1.5.1 - Postpaid doesn't work
PostPosted: Wed Feb 10, 2010 8:41 am 
Offline

Joined: Tue Feb 09, 2010 4:57 pm
Posts: 19
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=


Top
 Profile  
 
 Post subject: Re: a2billing 1.5.1 - Postpaid doesn't work
PostPosted: Wed Feb 10, 2010 8:56 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
The agi-conf is database driven, under global settings in A2Billing Admin UI

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group