How to set asterBilling working with Freepbx, Trixbox, Elastix …
asterBilling is a realtime billing solution for asterisk, could be used as a hosted callshop or just a simple billing system for your asterisk pbx. Many people are using freepbx based system as their pbx, like trixbox, elastix … so here i’ll introduce you how to use asterBilling to bill your asterisk pbx.
the first thing is, you must have freepbx installed and have a user their, say you want to bill these two users: solo <8000> and donnie <8001>
next go to asterBilling manager login (like http://asterccserver/asterbilling/manager_login.php) and login as “admin”
Although we only want to bill our pbx, still have to add a reseller first, go to “reseller” and click “Add” button, pur some message in the form and click “continue”
i left “Credit Lmit” to be null and “Limit Type” to “No limt” coz i just want to know how much each phone dialed each month.
then go to “Account Group” and add a group there
next go to “Clid” and add your phones, write down the “Pin” of the phone.
ok, now you have added the phones you want to bill in asterBilling, we need to add rate next, we have reseller rate, group rate and customer rate, I want to know the phone cost of each phone, so i only set customer rate
go to “Rate to Customer” and add a rate
this 0049 rate mean all calls begin with 0049 will be charged as such rate, 0.2 for the first 180 seconds and 0.2 each minutes after the first 180 seconds, it’d be charged every 60 seconds.
We have a rate which prefix is “default”, so this means if no prefix matched, the call will use this rate, we can use this for internal calls.
Also you may noticed that we didnt select Reseller and Group, this means all Reseller and Group will use this rate.
After all rates are added, your configuration job is done, before you leave asterBilling, make sure astercc daemons is working or else just start them by “asterccd start”
When a phone user want to check his CDR and how much he have dialed, he can login asterBilling via phone login page, like http://asterccserver/asterbilling/login.php, login use phone number and pin
then you can see your CDR history and how much each call cost:








February 4th, 2009 at 9:09 pm
Thanks in helpet me alot
July 8th, 2009 at 12:40 pm
How to bill inbound calls?….
July 12th, 2009 at 4:17 pm
can set fix rate for group
July 13th, 2009 at 4:18 am
fix rate?.. Ermm… Not totally understand…. Can u tell me how to make it?..
July 15th, 2009 at 9:28 am
put “inbound” as prefix in rate table
December 23rd, 2009 at 8:47 am
Can I use aster billing when my asterisk resides in another machine?? how can I connect my aster billing server with asterisk server?
December 28th, 2009 at 4:41 pm
yes, set astercc.conf to connect to your asterisk via AMI
April 18th, 2010 at 1:17 pm
Hi, what is the difference between the three ? Rate to Customer | Rate to Callshop | Rate to Reseller |, can’t understand it. thank you !
April 19th, 2010 at 5:51 am
rate to customer: rate callshop sell to customer
rate to callshop: rate reseller sell to callshop (callshop cost)
rate to reseller: rate system sell to reseller (reseller cost)