Manual

IP PBX Configuration - FusionPBX

FusionPBX is a web based user interface designed to simplify management of freeSwitch. SIP Trunk configuration instructions below apply to the following FusionPBX versions:

  • FusionPBX v. 4.5 - Switch Version 1.8

Documentation is provided for scenario where FusionPBX server uses Static IP address on the public Internet and when Dynamic IP address is used.

Static IP address

FusionPBX SIP Trunk - static IP address

Figure 9.1 FusionPBX SIP Trunk - static IP address.


  1. Static IP address (a.b.c.d in our example above) of your FusionPBX server will be added to GoTrunk service IP ACL (Access Control List) and outbound calls coming from that IP address will be accepted without requiring any further authentication (SIP username and password). This is the most efficient way of authenticating SIP calls.

  2. Inbound calls to one of Telephone Numbers on your GoTrunk account will be sent directly to FusionPBX public IP address. Since the calls will be coming from known peer (IP address of SIP Trunking service q.x.y.z in our example above) FusionPBX will accept them without requiring any further authentication.


To configure FusionPBX server to work with GoTrunk SIP trunk using IP authentication the following changes are required:


FusionPBX add SIP Trunk - static IP address

Figure 9.2 FusionPBX add SIP Trunk - static IP address.

Follow steps below to add SIP Trunk:

  1. Click Accounts menu.
  2. Select Gateways.
  3. Click Add button - Plus symbol.
  4. Enter name of the trunk as gotrunk
  5. Enter the following into Proxy field (replace amn.st.ssl7.net with eu.st.ssl7.net if you want to use North America POP):
  6. Switch Register to false.
  7. Set Caller ID in From to True
  8. Click Save button.

Next follow "Routing configuration" instructions below.

Dynamic IP address

FUSIONPBX SIP Trunk - dynamic IP address

Figure 9.3 FUSIONPBX SIP Trunk - dynamic IP address.


  1. For outbound calls from FusionPBX to GoTrunk SIP Credentials (SIP username and password) authentication is used.

  2. For inbound calls to one of Telephone Numbers on your GoTrunk account to work FusionPBX needs to Register with GoTrunk service (and periodically refresh registration in case IP address changes). Calls will be sent to IP address which was sent in the most recent FusionPBX Registration. Since the calls will be coming from known peer (IP address of SIP Trunking service q.x.y.z in our example above) FusionPBX will accept them without requiring any further authentication.

To configure FusionPBX server to work with GoTrunk SIP Trunk using SIP Credentials authentication the following changes are required:


FusionPBX add SIP Trunk - dynamic IP address

Figure 9.4 FusionPBX add SIP Trunk - dynamic IP address.

Follow steps below to add SIP Trunk:

  1. Click Accounts menu.
  2. Select Gateways.
  3. Click Add button - Plus symbol.
  4. Enter name of the trunk as gotrunk
  5. Under Username field introduce your SIP Username
  6. Under Password field introduce your SIP Password
  7. Enter the following into Proxy field (replace amn.st.ssl7.net with eu.st.ssl7.net if you want to use North America POP):
  8. Switch Register to false.
  9. Set Caller ID in From to True
  10. Click Save button.

Next follow "Routing configuration" instructions below.

Routing configuration

Outbound route

FusionPBX add Outbound route

Figure 9.5 FusionPBX add Outbound route.

Follow steps below to add Outbound route:

  1. Click Dialplan.
  2. Select Outbound Routes.
  3. Click Add Outbound Route button.
  4. Select Gotrunk from Gateway list.
  5. Add Dialplan Expression or select from dropdown list
  6. Click Save button.

Inbound routes

FusionPBX add Inbound routes

Figure 9.6 FusionPBX add Inbound routes.

For each of the Telephone Numbers on your GoTrunk account follow steps below to add Inbound route:

  1. Click Dialplan.
  2. Select Inbound Routes.
  3. Click Add Inbound Route button.
  4. Enter Telephone Number into Name field.
  5. Enter Telephone Number into Destination Number field.
  6. Set desired destination from Action the drop down list.
  7. Click Save button.

Note: make sure to click Apply Config button in top right corner of the page to reload your FusionPBX configuration.

Set Extension Caller ID

FusionPBX User Caller ID

Figure 9.7 FusionPBX User Caller ID.

Follow steps below to set Caller ID for each extension:

  1. Click Accounts.
  2. Select Extensions.
  3. Edit extension you like to set CID.
  4. Enter Caller ID Number into Outbound Caller ID Number field.
  5. Click Save button.

Configuration note

Some FusionPBX has default SIP External listening port as 5080 instead of the standard SIP port.

To make incoming calls work we need to modify SIP port under FusionPBX to 5060. This can be done from Advanced > Variables, under SIP Profile: External, you will need to set external_sip_port to 5060.

If you deployed IP Authentication you have one other option. You can also set remote SIP port to 5080 under GoTrunk. This can be done by editing Endpoint SIP under GoTrunk settings and set port to 5160.

Configuration note

FusionPBX Rester Gateway

Figure 9.8 FusionPBX Rester Gateway.

When editing FusionPBX gateway it is needed to restart gateway. Follow the steps bellow to Stop and Start gateway:

  1. Click Accounts menu.
  2. Select Gateways.
  3. Under corresponding gateway click Stop button. Once stopped click Start link.

Configuration note

With FusionPBX has Access control Lists to secure the server. Please while you are testing the trunk configuration make sure default option is Allow.

Click to Chat