Skip to main content

Set up a Redundant Proxy

Flowroute uses DNS SRV records to ensure redundancy; however, some systems may require redundant SIP trunk configurations as they cache DNS entries. For high-availability in your production environment, you can utilize Flowroute's specific DNS SRV records for our server locations to ensure redundancy.

The configuration steps below are for Asterisk-based system using FreePBX as the front-end. Since the only difference between the Primary and Secondary trunks is the host configuration, you can use a similar setup for your specific system configuration: 

IMPORTANT: Primary and Secondary Proxy for New PoPs

If you are taking advantage of our new Points of Presence (PoPs), make sure to update the host and fromdomain in this format: {your_preferred_pop} where {your_preferred_pop} might be "us-west-wa" for example. The new value will then be See Interconnection with the New PoPs for technical specifications.

Set the primary proxy

  1. Open your your FreePBX application.
  2. In the navigation pane, click the Trunk Configuration page, and then select your Flowroute-Primary trunk:


  3. In the PEER Details section of Outgoing Settings, update the host and fromdomain to the following:
  4. Save the configuration, then click Apply Configuration Changes at the top of the page. 

    Your system now uses instead These also now resolve to the same primary proxy.

Next, set the secondary proxy for redundancy and high-availability. 

Set the secondary proxy

  1. Open your FreePBX application.
  2. Go the Trunk Configuration page, and click Add SIP Trunk:

  3. In General Settings, enter Flowroute - Secondary for the Trunk Name. In all other fields, use the same information from your primary proxy.
  4. In the PEER Details section of Outgoing Settings, update the host and fromdomainto the following:
  5. Save the configuration, then click Apply Configuration Changes at the top of the page.

Set the route priority

Having now configured both Flowroute proxies, add the secondary proxy to your outbound routes so that outbound calls can fail over and attempt to route over the secondary proxy should the primary proxy be unavailable. 

  1. For Trunk Sequence for Matched Routes,

    • From the drop-down list box, select your primary Flowroute trunk.
    • From the 1 drop-down list box, select your secondary Flowroute trunk.
  2. Click Submit Changes.
  • Was this article helpful?