[Asterisk-Users] Billing/SPA-841/CDR Log

Are london3 at gmail.com
Tue Oct 11 03:17:08 MST 2005


Have a look at http://astbill.com it is FREE and Open SOURCE.

4) Because this (item 3) has already happened to me, is there any
free tool out there that will allow me to parse the CDR logs in order
to determine the maximum number of simultaneous calls that a
particular SIP peer has made within a specific timeframe? That way, I
could potentially bill the client for 2 accounts instead of 1.

AstBill is a FREE real time billing engine for Asterisk. By using AstBill to
process your Asterisk calls you get real time credit control of your
customers.

When any SIP or IAX client places a call AstBill will do a credit control.
If the account has Sufficient founds to place a call then AstBill will
calculate the amount needed for the duration of the call. (By default calls
disconnect after max 60 minutes. You can change that.) AstBill will create a
record in the MySQL table 'astcreditres' with the uniqueid, user and MAX
COST of the call. Next time somebody are using the same account to make a
call AstBill will check that there are founds available for the customer and
deduct any entry reserved for that customer in the MySQL table
'astcreditres' before AstBill decide the max length of the call the client
is allowed to use.

The CDR in AstBill have two parts. When the call is initiated the CDR info
available is stored in the table 'astcdr'. When the call is terminated the
rest of the information about the call is updated in the CDR. The cost of
the call is calculated and deducted from the customers balance. The record
for reserved founds in 'astcreditres' is deleted There are some advantages
to this as it allows us to query the database at any time to know how many
calls are currently being processed without using the Asterisk Manager
Interface.

I hope this is useful information and if you have more questions about
AstBill please feel free to use the forums at http://astbill.com/forum/3

Please download AstBill now and have a look. http://astbill.com
Are Casilla
http://astartelecom.com - Independent VOIP Telecoms Broker. Asterisk and
Drupal Consultants
http://astbill.com - Billing, Routing and Management software for Asterisk
and VOIP
AstBill DEMO: http://demo.astbill.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051011/8471aaf4/attachment.htm


More information about the asterisk-users mailing list