1. Home
  2. Phone
  3. Servers
  4. How to Install & Setup Free PBX SIP Trunking

How to Install & Setup Free PBX SIP Trunking


This article demonstrates step-by-step instructions for setting up Free PBX SIP Trunking with Circuit ID.

Step-by-Step Instructions

The below table will detail the steps required to accomplish your goals:



Login to the Management Portal by clicking a sign-on provider or entering your Email Address and Password as shown in Exhibit 1. If you don't have an account, you can sign signup instantly by clicking here.
Management Portal Login Form

Add your Free PBX Server(s) to Circuit ID

Follow the How to Add your Server(s) to Circuit ID guide

Purchase Phone Numbers

Follow the How to Purchase Phone Numbers guide to purchase one (1) or more numbers.

Creating a SIP trunk to Free PBX

  • Login to the Free PBX admin panel.
  • Go to the Connectivity >> Trunks >> Add SIP (chan_sip) Trunk as shown in Exhibit 1.
  • Click on the Add SIP (Chan_sip) Trunk to add a new Gateway and enter the following information as shown in Exhibit 2:
    • General Settings
      • Trunk name: CircuitID
      • Outbound Caller ID: The default outbound caller ID. Note that the caller ID can be overwritten on a per extension basis.
    • Outgoing Settings: (Note: The information after the semicolon (;) is considered a comment and must be deleted for the trunk to work properly on some PBX versions.)
    • canreinvite=nonat
    • nat=yes
    • context=from-trunk
    • host=g.pstn.circuitid.com
    • username=NA
    • fromuser=NA
    • secret=**** (NA)
    • type=peer
    • disallow=all
    • allow=ulaw
    • ; allow=g729 ; uncomment if you purchased g.729 from Digium
    • trustrpid=yes
    • sendrpid=yes
    • insecure=invite
    • qualify=yes

Localized Termination URIs

Region Hostname
US East (Virginia) useast.pstn.circuitid.com
US East 2 (Ohio) useast2.pstn.circuitid.com
US West (California) uswest.pstn.circuitid.com
EU (Ireland) euwest.pstn.circuitid.com
Asia Pacific (Singapore) apsoutheast.pstn.circuitid.com

Signalling IPs

US East (Virginia)
US East (Ohio)
US West (California)
EU (Ireland)
Asia Pacific (Singapore)

Media IPs

US East (Virginia)
US East (Virginia)
US East (Virginia)
US East 2 (Ohio)
US West (California)
US West (California)
EU (Ireland)
Asia Pacific (Singapore)

Configure Inbound Routes for Inbound Calls

  • To create inbound routes, go to Connectivity, then click Inbound Routes.
  • Next, add an incoming route for each number you purchased in step 3 of this articles as follows:
    • Description: Provide a meaningful description of what this incoming route is.
    • DID number: Enter the phone number you purchased in Step 3.
    • Set Destination: Set the destination that will receive calls when this number is dialed.
    • Click Submit to save your route.
  • Finally, click on “Apply config” to commit your changes to the server.


Congratulations! You have now completed the "How-To Install & Setup Free PBX Server with Circuit ID" article and we hope that you have accomplished the goals you set out to achieve. However, if for any reason you may still require assistance with setup, simply login to the Management Portal and submit a support request.

Updated on August 7, 2023

Was this article helpful?

Related Articles