This is part 7 of a series of posts on setting up an Elastix extension with A2Billing. See here for details of the other parts – Using A2Billing to account for extension calls in Elastix
This is by far the most complex part of setting up A2Billing. Creating and maintaining a rate card can be very time consuming. By far the best way to create the rates is to upload them from a CSV as provided by your VOIP provider. There can be many thousands of rates and it’s impossible to manage them by hand. We are going to create just a single rate to UK landlines so that we can test calling.
First click on RATECARD and Create Call Plan. Give your call plan a name, I’ve used Example –
Next we need to create a rate card so Click on Create New RateCard. I’ve called mine ‘Example ratecard’. Change the TRUNK to the trunk that we created earlier –
Now we need to go back to the call plan that we created earlier and add the rate card to it. This is the bit that people normally forget! Click on List Call Plan and then select EDIT. Scroll down and add the rate card you created to the call plan –
Now we need to create a rate on the rate card. I’m just going to create a rate for UK landline numbers starting with 1. The Dial Prefix is set to 441 (44 for UK and 1 for landline numbers). The DESTINSTION is just a text label for the destination. Set the buy rates (the amount you but the minutes for) and the sell rates (the amount you sell the minutes for). If your provider bills by the minute then set the durations and billing blocks to 60 (seconds) –
Your rate should look like this once applied –
That’s it for the a2billing GUI. Next we need to make some changes in Elastix – Part 8 – Create a custom trunk in Elastix for use with A2Billing