Вы находитесь на странице: 1из 4

Configuring A2billing

Getting started with A2Billing – Part 1 Setting up a trunk


2nd March 2009, 10:51 am

In this series of articles I’m going to run through how to get up your a2billing system up and
running. A2billing is an opensource billing application for Asterisk and can be used in many
different ways – I’ll be documenting just some examples

Some of this setup will depend how you have your main configuration file
(/etc/asterisk/a2billing.conf) configured. I will not be discussing that here. Also some of the
setup may rely on FreePBX and A2billing being setup to work together.

All of this documentation was created on a sysadminman Asterisk/FreePBX/A2billing VPS. See


here for details – http://sysadminman.net/uk-voip-vps.html

Setting up a trunk

We need to setup a trunk to be used for our outbound calls. Obviously you can setup more than
one trunk and route calls to different destinations via different trunks.

I will be using the trunk that I configured in FreePBX here –


http://sysadminman.net/blog/archives/335. As the main settings for the trunk have been setup in
FreePBX we can just call the trunk by it’s name in A2Billing. This trunk is with a provider
called callwithus.

To setup a trunk -

Click on TRUNK on the left hand main menu


The next thing I’m going to do is create a “Trunk Provider”. This is not essential (we can create a
trunk with out creating a “provider”) but will be useful when we have many trunks and want to
group them together)

So, click on “Create Provider” and give your provider a name and description – I’m using
callwithus. The click Confirm Data

Now I’m going to setup the actual trunk. So click on “Add Trunk”

VOIP-PROVIDER is the one we just created

LABEL is just a text label identifying the trunk


PROVIDER TECHNOLOGY is sip (although it’s also possible to use IAX2 with callwithus I
used SIP)

PROVIDER IP is the name of the trunk that I created in FreePBX here. It’s not essential to use a
precreated trunk I just like all my trunks created in a single place – FreePBX

and the click Confirm Data

And that’s it. Our trunk is ready to use. We can see this by click on List Trunk
Related posts:

1. Getting started with FreePBX – Part 1 Setting up a trunk


2. Part 5 – Creating a trunk in A2Billing on Elastix
3. Part 3 – Create a trunk in Elastix

Вам также может понравиться