Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initblock not accounted for on call #22

Closed
snoozer opened this issue Jun 27, 2012 · 3 comments
Closed

initblock not accounted for on call #22

snoozer opened this issue Jun 27, 2012 · 3 comments

Comments

@snoozer
Copy link

snoozer commented Jun 27, 2012

i have an issue that the initblock is not taken into account when a customer initiates a call. please see scenario below.

a customer with a credit of 0.01 cent called a number which WOULD BE 15sec for 0.01 cent. in the rate-card i have an initblock set of 60 sec which makes the call cost 0.04 cent. a2billing still does allow the customer to make the call, it cuts off at 15 sec but because the call cost would be 0.04 cent it should not have allowed the call in the 1st place. now the customer is billed 0.04 cent and is therefore at a -0.03 balance after the call.

regards
Jan

software used: Debian Squeeze, Asterisk 1.6, A2Billing 1.9.4

@snoozer
Copy link
Author

snoozer commented Jun 28, 2012

sorry, above numbers are euro, 0.01 euro and 0.04 euro, but it does not matter, the problem remains the same. i have now also figured out its the same with billingblock. we had set that to 60 for some numbers, that also brings a customer into negative balance in the same way as above.

@snoozer
Copy link
Author

snoozer commented Jun 28, 2012

to circumvent the above bug i have tried to use connect charge, same situation, the customer goes into negative balance and is then not able to make free minute calls any more. this is a bummer as i now have no way to charge the first 60 seconds of a call in full without customers going into negative balance. on top of that i have no means to allow the usage of free minutes on negative balance. i hope this can be fixed sooner rather than later !!

regards
Jan

@areski
Copy link
Member

areski commented Nov 10, 2012

Can you try this bug on V2 ?

@areski areski closed this as completed Nov 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants