Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Mar 25, 2019 12:10 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Blocking Account at Zero
PostPosted: Sat Sep 11, 2010 10:57 am 
Offline

Joined: Wed Apr 28, 2010 1:48 am
Posts: 24
I have been noticing that if there is a call in progess and the account goes into the negative the call continues and does not cut it off. Additionally other calls can enter as long as there is some funds, further taking the account into the negative. Is there a way of having the account shut off after it gets to zero and or reach the minimum amount to make a call? By having this happen it would make the account a true prepaid since a prepaid should not be allowed to into the negative.

Thank you for your great work.


Top
 Profile  
 
 Post subject: Re: Blocking Account at Zero
PostPosted: Sat Sep 11, 2010 11:14 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

The system works as follows:-

    Call made,
    match dialled digits to dialcodes, and discover rate
    Check balance and calculate maximum total duration
    Send dial command to Asterisk, containing the total duration of the call with the L parameter
    Calls hangs up, either forcibly, or because customer hangs up.
    Calculate cost of call.
    Update balance.

So with a single call, there is no way (unless you have made some "improvements") that the balance can go into negative balance.

However, you will notice that the balance is updated at the end of the call. Therefore calls on the same account that start during the first call will be given the same maximum time duration as the first.

This problem can be alleviated with the dial balance reservation setting in the agi-conf.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group