Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 12:04 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 'concurrent calls' negative balance issue
PostPosted: Thu Nov 06, 2014 10:24 am 
Offline

Joined: Wed Jun 18, 2014 7:48 am
Posts: 6
we're facing the issue, as described in this thread from 09':
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=9294

customers can get to negative balance, and concurrent calls aren't affected by %timeout% parameters.

this issue is very old, has it been fixed yet?
has it been fixed in a2b v2?

current a2billing version is 1.9.4


any help will be greatly appreciated


Top
 Profile  
 
 Post subject: Re: 'concurrent calls' negative balance issue
PostPosted: Fri Nov 07, 2014 9:52 am 
Offline

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

Concurrent calls and negative balances are still an issue, because the customer's balance is updated at the end.

There are things you can do to alleviate negative balance:

1. Use the dial balance reservation parameter, this decrements the balance at the beginning of the call and puts it back at the end, so each subsequent call starts with less balance.

2. We have some diaplan for VoIP, that limits the number of allowed concurrent calls, see http://www.asterisk2billing.org/add-ons ... ls-module/

For some sponsorship, this could be modified to hangup all calls for that customer when the first call hangs up and the balance is 0.

Joe


Top
 Profile  
 
 Post subject: Re: 'concurrent calls' negative balance issue
PostPosted: Mon Nov 10, 2014 3:09 pm 
Offline

Joined: Fri Mar 01, 2013 8:53 pm
Posts: 39
Another way to avoid this, is setting a maximum call duration, you can do it using a custom context for your clientes, check this topic

viewtopic.php?f=13&t=10960


Top
 Profile  
 
 Post subject: Re: 'concurrent calls' negative balance issue
PostPosted: Tue Nov 11, 2014 8:38 am 
Offline

Joined: Wed Jun 18, 2014 7:48 am
Posts: 6
thank you guys,
we are still looking for the right solution, as this is a known issue


Top
 Profile  
 
 Post subject: Re: 'concurrent calls' negative balance issue
PostPosted: Tue Nov 11, 2014 9:48 am 
Offline

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

The solutions listed here are all that is available without a complete system redesign.

The alternative is to redevelop A2Billing to support decrementing the account every second, or every few seconds, then arranging to disconnect all sessions for that customer. This would be a big hit in processor / MySQL queries, and would likely reduce the number of concurrent calls that one server can handle, meaning you need a larger number of Asterisk servers to do the same job, meaning more investment, power, hosting costs. So for those reasons, the cost in doing this will probably exceed your negative balance losses.

With the methods outlined in this post, you can bring down negative balance to acceptable levels, probably in the order of magnitude of a few cents, which you will get back when the customer refills their account.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 14 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