How to create account balance for each users in asterisk freePBX system?

0

I have an asterisk server up and running.

Users connect via extensions(IAX2).

How do i create balance account for these users?

any help would be appreciated.

Account Unknown

Posted 2015-09-13T18:20:59.510

Reputation: 55

Question was closed 2015-09-15T00:50:35.677

@JakeGould, what the hell is wrong with you? go disturb someone... idiots... – Account Unknown – 2015-09-15T05:58:39.347

@avidPostill, you too... – Account Unknown – 2015-09-15T05:58:50.650

@karel, yes you idiots... – Account Unknown – 2015-09-15T05:59:18.547

@Scott don't you guys have anything better to do? – Account Unknown – 2015-09-15T06:00:07.907

@fixer1234 read the question if you don't understand go and learn something... – Account Unknown – 2015-09-15T06:01:01.790

Answers

0

Asterisk is PBX, not billing system.

You can create custom dialplan using DB function and cdrs, but that required non-trivial skills

Simplest method is use billing system like http://a2billing.org.

arheops

Posted 2015-09-13T18:20:59.510

Reputation: 977

Thanks @arheops, I have no voip providers, because i am a voip provider, so how exactly i need to configure for my queries? like: do i have create 1000 extensions for my customers? or how should i link these freepbx and a2billing? – Account Unknown – 2015-09-14T04:33:04.820

You should setup a2billing as outbound trunk using Local/ channel as Local/$DIALNUM$a2billing/n . Also you should put in every extension accountcode field value of username from a2billing. Note, you HAVE setup a2billing correctly(not just install) acordinly to INSTALL file in a2billing tarball and setup ratecards. – arheops – 2015-09-14T11:50:21.833

any tutorial or guidance DYI something like that? – Account Unknown – 2015-09-14T12:50:45.150

Sure. Alot of tutorial about a2billing configuration, including video. Unfortanly it is not even two hour job, so can't be described in SO format. – arheops – 2015-09-14T17:17:33.517

pardon me? just point me out where i can find these (and please don't say google) – Account Unknown – 2015-09-14T18:53:34.990