FreePBX 2.11 Guide: Outbound calling

To make calls to a regular telephone we need an account with a call provider. Our FreePBX system will pass the call to the call provider (using SIP) and the call provider will pass the call to the regular telephone system. This is sometimes referred to as ‘call termination’

There are literally hundreds of SIP call providers to choose from. This guide uses voiptalk.org who are a large provider in the UK. First you need to sign up with the call provider and deposit some call credit with them. You will then receive SIP credentials which you will use to configure your connection (SIP trunk) to them.

They should also provide you with some configuration settings that you need to enter. Because FreePBX/Asterisk is so popular many providers will be able to let you know what settings to use. The settings can vary depending on the call provider.

There are 2 steps to this. First we need to set up the connection (SIP trunk) then we need to tell FreePBX what calls to send via that trunk. Don’t forget we could use many different call providers (possibly for different call destinations). We need to let FreePBX know what trunk to use for what calls.

Set up SIP trunk

Select Connectivity / Trunks form the menu

FreePBX SIP trunk

FreePBX SIP trunk

Click on Add SIP Trunk

Add SIP Trunk

Add SIP Trunk

Give the SIP trunk a name

FreePBX SIP trunk name

FreePBX SIP trunk name

Enter the SIP trunk details. The settings required will depend on the call provider. Then click Submit Changes

FreePBX SIP trunk settings

FreePBX SIP trunk settings

When you click OK you will be warned about not having a Caller ID set. As we don’t have any phone numbers configured on the system yet it’s OK to ignore this warning

FreePBX settings

FreePBX settings

Now we have our trunk set up we need to configure an Outbound Route, to tell FreePBX to place calls via this trunk.

Setting up an Outbound Route

Select Connectivity / Outbounds Routes from the main menu

FreePBX Outbound Route

FreePBX Outbound Route

Give your Outbound Route a name. I’m going to keep it the same as the trunk name. Then in the ‘match pattern’ box enter ‘X.‘ (letter X followed by a dot). This matches any number dialled that is not an internal phone number. So any number we call is going to get sent via this trunk. Then Submit Changes

Outbound Route setup

Outbound Route setup

Finally click Apply Config and we’re done. We should now be able to make a call from the extension we set up earlier

FreePBX apply config

FreePBX apply config

Checking if the trunk registered OK

As we entered registration information for this trunk (it’s not always the case this will be required, it will depend on the call provider) we should be able to check it registered OK.

Click ok Reports / Asterisk info

FreePBX Asterisk Info

FreePBX Asterisk Info

Select Registries from the right hand side

FreePBX registered trunks

FreePBX registered trunks

1 thought on “FreePBX 2.11 Guide: Outbound calling

  1. levani

    Hi, i have some problem with outbound call,
    i have three trunk and three outbound route (with tree phone number) and from this 3 trunk I want that only one trunk be able to call mobile.
    Can anyone help me?

Comments are closed.