Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »


 
 
 

Failover Overview

Our Failover Service allows you to provide us with alternative delivery phone numbers and/or Backup PBXs in the event that we can't deliver a call to you. Without our failover service, we normally try to send your calls to you from trunk1.freepbx.com. If you are not registered or the attempt otherwise fails to reach your PBX, we try sending the call to your from trunk2.freepbx.com. If neither can reach you, we give up.

With the failover service outlined below, you are provided with a wide selection of options. The most common option will be an alternative phone number to reach you if the call fails. You can provide a different phone number for each DID that you own as well as a single phone number for the whole account. Upon a failure to deliver your call, we will check if your DID has a failover number configured and if so, we will send the call there. If the DID called does not have a failover number configured, we will check if the account has a general failover number configured and if so, we will send the call to that number.

In addition to a failover number, you can configure your system with a failover PBX to send the call to by providing either an IP address or FQDN where we can send the call. This is normally done at the account level but can be done for each DID as well. With this configuration, if you are not registered or the attempt otherwise fails to reach your registered PBX, we will try to send the call to this alternative PBX address. This can be a backup PBX, an alternative WAN address you have configured for the same PBX, or any other SIP IP path that can receive and manage the call to the given DID. If you configure both an alternative PBX address AND a failover number, then we will first try to route the call to the alternative PBX and if unsuccessful we will send the call to the alternative phone number.


Common scenarios for failover.

 

  • Failover Numbers Only:

    To achieve this, you should provide global failover number that will be used for any call that does not have a per-DID failover number configured. In some cases, this may be the only number you need configured. However, if you have certain DIDs that you would like routed elsewhere (such as the owner's corresponding cell phone), you should provide the failover number for each of those DIDs.
     

 

  • Failover to Backup PBX Only:

    If you have a backup PBX where you want all your calls to go to, you should provide us with a single PBX address and port number where we can send the call. This can be an IP address or a FQDN. The most common port number is 5060 though we can configure whichever SIP port you require. It is your responsibility to assure that the given PBX can receive the calls from either of our trunking servers and can accept and route your DIDs. We can get you setup with this service for free on SIPStation but if you need help architecting and implementing a solution on your PBX end we have a FreePBX Paid Support Service that can help design a solution for you.
     

 

  • Failover First to a PBX Followed by Numbers if the Backup PBX Can't be Reached:

    Implementing this scenario simply involves providing both the Failover to Backup PBX Only information as described immediately above, and then implementing the Failover Numbers Only information above that. We will then always try to deliver the calls FIRST to the alternative PBX address on a failure and ONLY if that also fails will we deliver the call to the alternative numbers as configured.

How to Setup Failovers from SIPStation Store

 

Setting a Global Failover

    • Click on the "My Account" option at the top of the page



  • Scroll down to the "Global Account Failover Configuration" section.  Here we can see any fail-overs that are current setup.

 

    • Define your failover options as outlined below. 
      • Failover Number-   In the event that your system is not registered or our servers can not reach you, you can provide a 10 digit phone number where we should send the calls. If you have an IP/FQDN setup we will try that first. If you have a per DID failover number we will ignore this number for that DID.
      • Failover FQDN/IP-  In the event that your system is not registered or our servers can not reach you, you can provide an IP or full domain where we should try to deliver your calls. The typical format would be 'mypbx.mycompany.com:5060' and by default we will assume 5060 if not provided. If you have any per-DID failover settings, we will try this IP/FQDN before trying the per-DID number. If we can't deliver the call to this address and you have a failover number set, we will send the call there. This is an advanced feature and your PBX configuration is not included with our free SIPStation support though we do offer paid services if you would like help with this.
    • Press the Update button to save your changes or the Clear Failover button to remove your settings.

 

Setting a Per DID Failover

  • Click on the "DIDs" option at the top of the page 



  • For each DID you can define a failover number and if a failover number is defined you will see the number.
     

  • Clicking on "Configure" or a phone number will bring up a screen to let you set the failover number or clear the already set number.

     
  • Optionally if you need to set numerous DIDs to the same failover number you can use the "Mass Operations Failover" option at the bottom of the page.

     
  • From here pick which DIDs you want to set the failover on and enter in the failover number and press the "Update Failover" button.


How to Setup Failovers from FreePBX SIPStation Module

  • Log into your SIPStation module in FreePBX



  • Scroll down to "Account Settings" section.
  • Under the Global Failover Number option you can set a 10 or 11 digit number that we will forward your inbound calls to in the event your PBX is unreachable by SIPStation trunking servers as outlined above.


  • Press the "Update Account Settings" button when done to submit the changes to SIPStation.  Your changes should be active within 60 seconds.

Optional DIDs

So now that we have set a Global Failover Number we can optionally set Failover Numbers for individual DID's with SIPStation.   If we do not set Failover Numbers for any DIDs and a call comes into one of your DIDs we will look to the Global Failover Number above.  If the DID has its own failover number we will use that instead of the Global Number.

 

  • Scroll down to the "DID Configuration" section.  For each DID you can define your DID failover number if you would like a different failover for that DID then the Global Failover Number.


  • Press the "Update DID Configuration" button at the bottom when done to submit the changes to SIPStation.  Your changes should be active within 60 seconds.


Notice

Important Detail when using Failover Services:

We previously described that in most circumstances we try to deliver calls from trunk1.freepbx.com and if you are not registered will have trunk2.freepbx.com try to deliver your calls. For any DID that has failover services configured either at the per DID level or the account level, our trunking server that first tries to deliver the call to you will NOT pass it on to our other trunking server if it can't reach you. Instead, it will use whichever failover configuration you have setup. This means that it is important for you to dual register with us so that regardless of which trunking server is trying to send you the call, we will only fall back to these failover services IF your server is not available.

  • No labels