Small business phone system with PIAF and voiptalk.org – Quick Start

Starting out with a VOIP phone system can be a bit daunting, but it’s amazing how quickly you can get something up and running. Once you have calls going in and out of the system it’s very easy to look at other areas, such as voicemail, IVR, ring-groups …

This quick start guide runs through taking a brand new hosted PBX system and making and receiving calls.

This is based on a SysAdminMan PBX-in-a-Flash PBX running PIAF v1.7.5.6 Purple

WHAT ELSE YOU WILL NEED

A broadband connection
A call provider – this guide uses voiptalk.org
A telephone handset – this guide uses an Aastra 55i but any SIP compatible handset will work (or a softphone such as x-lite)

SETTING UP YOU EXTENSION IN FREEPBX

Once you have your server log in details you can connect using a web browser to access the system and select ‘FreePBX Administration’ –

pbx in a flash administration

Next, click on the Extension menu on the left hand side and add a Generic SIP Device –

freepbx add a sip extension

Choose an extension number (I’m going to use 4 digit numbers and this will be extension 2000) and enter that in ‘User Extension’ and ‘Display Name’ –

add a sip extension - extension number

Now choose a password for the extension (call secret in Asterisk). Make sure it’s long and complicated –

freepbx sip extension secret

You must now click on Submit at the bottom of the screen followed by Apply Configuration at the top of the screen –

freepbx submit

freepbx apply configuration

SETTING UP YOUR PHONE EXTENSION

The set up of your extension will vary depending on the exact type but the settings you need will be the server IP address, the extension number and the secret. Here are the settings entered in to my Aastra 55i –

aastra 55i proxyaastra 55i authentication name

Once we’ve restarted the phone, the easiest way to test that it’s working OK is to dial *43. This is the echo test and will echo back everything we say in to the phone –

aastra 55i echo test

SIGNING UP FOR A VOIPTALK.ORG ACCOUNT

Next sign up for a voiptalk.org account. I went for a PAYG account, with an inbound UK DDI number. Voiptalk provide a service especially designed for use with an Asterisk server called IAX PSTN Call Credit, so add funds using this product type –

voiptalk.org IAX topup

voiptalk account details

You also need to set up the routing for your DDI number in Voiptalk. Set the destination to Route to a PBX and then Asterisk PBX (IAX). The IP address will be that of your PBX in a Flash server –

voiptalk route inbound number

SETTING UP A FREEPBX TRUNK

Now we need to tell PBX in a Flash about the Voiptalk account details, we do this by setting up a trunk. Voiptalk have a document to help setting this up – https://www.voiptalk.org/products/trixbox-iax-trunk-setup. Here are my trunk settings –

Outgoing settings –

voiptalk outgoing settings

Incoming settings. The User Context and Username should match your DDI number –

freepbx voiptalk trunk incoming settings

SETTING UP AN OUTBOUND ROUTE

Now we need to tell PBX in a Flash to send regular telephone numbers that we dial to Voiptalk. This is called an Outbound Route. We are going to create an Outbound Route called ‘default’ and set the Dial Pattern to ‘X.’. This matches all dialled numbers and sends everything (that’s not internal) to the Voiptalk trunk –

add outbound route default

set the dial pattern on the voiptalk outbound route

SETTING UP AN INBOUND ROUTE

Finally we need to tell PBX in a Flash where to send calls that come in to our DDI number. We do this with Inbound Route. It’s a good idea to keep the Inbound Route name the same as the DDI number –

add inbound route

and then set the destination to the extension we set up earlier –

set destination for inbound route

TEST THAT IT WORKS!

Hopefully that’s everything. You should now be able to dial out from your extensions (in full international format. eg. 441604283000 for a Northampton number) and ring your DDI number which should get routed to your extension.