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:
Thanks in helpet me alot
π
How to bill inbound calls?….
can set fix rate for group
fix rate?.. Ermm… Not totally understand…. Can u tell me how to make it?..
put “inbound” as prefix in rate table
Can I use aster billing when my asterisk resides in another machine?? how can I connect my aster billing server with asterisk server?
yes, set astercc.conf to connect to your asterisk via AMI
Hi, what is the difference between the three ? Rate to Customer | Rate to Callshop | Rate to Reseller |, can’t understand it. thank you !
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)
Hi,
I have installed the .iso image, created an extension, trunk and outbound route and everything works, i can call and be called without any problem. Now I want to bill that extension, but I follow the steps from here and nothing happens… added a reseller, group, clid and rates, but i think something is missing, because the report is always empty. Is something missing in the explanation before? Should I need to configure something else? Is there a way i can do some debug to see what is missing?
Thanks in advance
Mario
I have a problem in the latest version
When calling a number.Does not appear.No. ….Unlike version 21 beta
http://img89.imageshack.us/img89/7572/leh8.jpg
i can’t see destination pls help me
What’s your asterisk version?
asterCC-BOX-0.22 this
thank you so much admin
so it only have destination number when it’s answered right ?
Yes, only this problem … must show number
Before I was working on the 21 beta
Everything is true
but with this version only this problem
i think because asterisk 1.8 changed some AMI events, i would suggest you to downgrade to 1.6.2.20
i do this
http://astercc.org/tips/2011/03/billing-with-accountcode-works-on-freepbxasterisk-aserbilling.html
and same problem
how to do this back in this asterisk version 1.6.2.20
remove asterisk rpm packages and install 1.6.2.20 rpm
ok i will do this and tell this thank you so much ….. you can help me you do this π
I have an exsisting freepbx setup, with 350 extensions, how would you set that up?