Asterisk Billing Solution

Hi All,

I have 8-10 SIP clients who can call each other or to PSTN via Asterisk Server.

I want to develope full billing solution for this
That includes for example

(1) Knowing before placing call how much balance someone has, (Using Voice Playback to tell SIP client his max duration of call)

(2) During Call if someone reaches it’s time limit according to balance; then terminating his call

(3) during call displaying current updated information of some active SIP client showing his total Ballance left, Time left , Total call durion etc.

How above mentioned things can be achieved?
Through asterisk or using some application running beside asterisk???

Thanks in advance


It can be on pure asterisk or with a2billing with freepbx or trixbox will makes things easier.

There is a simple pre-paid application here The dialplan along with an sql dump of the database with a few test values is included. Let me know if it can be of some use to you.