Tag Archives: elsatix

Using A2Billing to account for extension calls in Elastix

A2Billing is a very flexible piece of software and can be used in many situations. One of these is to account/charge for calls from extensions in Elastix/FreePBX.

I’ve put together a walkthrough about how to do this. The walkthrough is done on a Elastix 1.6 Sysadminman VPS template. I’ve broken it in to 8 parts.

The first 4 parts are getting an extension up and running in Elastix and then the last 4 parts show how to configure A2Billing to account for these calls. Due to the version of A2Billing that comes with Elastix 1.6 (A2Billing version 1.3) it is nescesary to edit a few files manually using the command prompt.

A setup similar to this could possibly be used for a call shop or a hotel system.

Here are the parts –

Part 1 – Create a test extension in Elastix
Part 2 – Set up x-lite to use your Elastix extension
Part 3 – Create a trunk in Elastix
Part 4 – Create an outbound route in Elastix
Part 5 – Creating a trunk in A2Billing on Elastix
Part 6 – Create a customer in a2billing on Elastix
Part 7 – Create a call plan and rate card in A2Billing on Elastix
Part 8 – Create a custom trunk in Elastix for use with A2Billing

Part 8 – Create a custom trunk in Elastix for use with A2Billing

This is part 8 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

Now we are going to make some changes to the Elastix setup we did earlier. We are going to tell Elastix to route our calls via A2Billing, rather than going straight out using the trunk.

First we need to add a trunk so select Trunks and Add Custom Trunk –

Continue reading

Part 7 – Create a call plan and rate card in A2Billing on Elastix

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 –

Continue reading

Part 6 – Create a customer in a2billing on Elastix

This is part 6 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

Next we are going to create a customer in a2Billing. This will be the customer account for the extension 1000 that we setup in Elastix earlier.

First select CUSTOMERS and then Create Customers –

Continue reading

Part 4 – Create an outbound route in Elastix

This is part 4 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

Next we need to create an Outbound Route to tell Elastix which trunk to use for our calls.

Click on Outbound Routes on the left hand menus and then create a new Outbound Route –

Continue reading

Part 3 – Create a trunk in Elastix

This is part 3 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

Now we have got an extension set up we need to be able to make calls to the regular telephone system. To do this we need an account with an ITSP, I’m going to use callwithus.

First click on Trunks and then Add SIP Trunk –

Continue reading

Part 2 – Set up x-lite to use your Elastix extension

This is part 2 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

X-Lite is a free SIP client and can be downloaded here. There are many others!

Once you get x-lite installed bring up the “SIP Account Settings” page –

Continue reading