Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Dec 18, 2017 4:35 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Prepaid Balance increasing instead of decreasing.
PostPosted: Thu May 30, 2013 11:44 pm 
Offline

Joined: Thu May 30, 2013 11:36 pm
Posts: 3
Hi all,

A silly question I am a sure, but hopefully someone will know the answer.

I have setup a prepaid customer in A2billing and assigned a balance.

The starting balance was 0 and I refilled the account to £50.

When I make calls, I notice that the Credit Balance increases instead of decreasing.

Sure enough when I look at the a2billing_agi.log, I see the following entry.

UPDATE cc_card SET inuse = inuse - 1, credit = credit + 0.25 WHERE username = '50714xxxxx']]
[30/05/2013 19:12:20]:[CallerID:+xxxxxxxxx]:[CN:50714xxxxx]:[[exit]

I have replaced some numbers with 'x' chars for security.

Please note that the update increases the balance instead of decreasing it?

Why is this? The cdr's are costed correctly, so I am at a loss.

I am using A2billing 2.0.4 and Asterisk 11.04.

Many Thanks,


Top
 Profile  
 
 Post subject: Re: Prepaid Balance increasing instead of decreasing.
PostPosted: Mon Jun 03, 2013 12:33 pm 
Offline

Joined: Thu May 30, 2013 11:36 pm
Posts: 3
Hi,
Does anyone have any feedback on this please?


Top
 Profile  
 
 Post subject: Re: Prepaid Balance increasing instead of decreasing.
PostPosted: Mon Jun 03, 2013 1:02 pm 
Offline

Joined: Thu May 30, 2013 11:36 pm
Posts: 3
Hi Everyone,

I've just been told the answer to this issue.

Basically, it's a dial balance reservation deducted at the start of a call, designed to prevent a negative balance.

If the call does not go through, it will credit the balance back.

To change this, go to AGI.conf and locate Dial Balance reservation = 0.25.

On a side note, anyone know how to set-up alerts if the ASR for a given customer drops below a threshold?


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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