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.
AstBill Call Routing
billing solution
1 week 6 days ago
5 weeks 3 days ago
12 weeks 6 days ago
14 weeks 2 days ago
16 weeks 3 days ago
19 weeks 7 hours ago
19 weeks 13 hours ago
20 weeks 2 days ago
22 weeks 2 days ago
24 weeks 5 hours ago