With FreePBX, you can easily edit the Asterisk configuration by editing individual config files. By using the account details provided by us, you can easily send/receive calls. The information for setup is based on v2.1.3 of FreePBX, but newer and older versions will work as well.

Reference Information

Main Page:
FreePBX – http://www.freepbx.org

Support:
FreePBX support page

Setup Guides:
VoIP-info Wiki

Asterisk PBX Configuration with the FreePBX interface

This guide assumes that you have already installed the FreePBX. This guide also assumes that you know how to use this software.

1) Trunk Configuration

Login to the admin panel of FreeBPX > Setup > Trunks > Add SIP Trunk > Outgoing Settings and enter the relevant info in the Trunk Name field.

Use the info provided below in the Peer Details section:

context=

fromdomain=

host=

fromuser=

host=

secret=

insecure=

username=

 

The user/pass is the one that was provided to you at the time of registration.

Now move down to the registration tab and enter the username and password. Finally, click on submit changes and click on the red bar (top) to apply changes.

Now, edit the sip.conf and enter the following information:

 

context=from-pstn
srvlookup=yes

If you are using FreePBX, you may need to manually edit the files by logging into your server with an editor such as Nano or Putty.

2)  Outbound Route Config

To configure the Asterisk box, click on the option which says Outbound Routes and enter the relevant info in the Route name field. Move down to the Trunk Sequence and select the appropriate trunk from the list. Finally, click on submit changes and click on the red bar (top) to apply changes.

3) Extension Config

If you have done the extension configuration already, you can skip this step. Otherwise, follow the instructions mentioned below:

Click Extensions > SIP > Enter 1000.

We are using a generic value for the extension for now. In the display field, enter “first 1 extension.” In the field which says Secret, enter a password. Finally, click on submit changes and click on the red bar (top) to apply changes.

4)  Inbound Route Configuration

Navigate to Inbound Routes and add a new incoming router. Leave all the information blank (such as caller ID number, DID number, and so on).

Now, go to Set Destination > First Extension > Submit changes. Finally, click on submit changes and click on the red bar (top) to apply changes.

5) Configure and test device

Choose a device and use the hostname or IP address for your box as well as 1000 (extension) and password for that extension to establish a connection to the Asterisk box. Now, try to place test calls from your Asterisk PBX or to your Asterisk PBX using the device connected to the extension (1000).

6) Place Test Calls

Click here to get a virtual phone number now.

Sales, click to chat