Tech

Different IP Addresses for Failover

Failover is an important feature for most PBX installations. With the availability of high-bandwidth wireless like 4G it becomes more and more popular to use the wireless connection when the primary land-line based internet access becomes unavailable.

Failover is an important feature for most PBX installations. With the availability of high-bandwidth wireless like 4G it becomes more and more popular to use the wireless connection when the primary land-line based internet access becomes unavailable.

We have for a long time the possibility to run the PBX in the LAN, replacing the local IP address with publicly routable IP addresses. The IP replacement list was already a topic of many forum discussions.

However when it comes to dynamically switching the presented IP address in the case of a failover, we were in trouble. In theory, it would be possible to run a script that tests for the public IP address and then uses the REST interface and change the routing table. However not everyone is a bash wizard and it would even require different scripts for the different operating systems.

This was the reason why we went ahead and added a new feature that takes the URL for probing the public IP address of the PBX and a interval time value. The PBX will then periodically download the URL and set the public IP address of the PBX accordingly. The public IP address can be referenced with the magic name “public” in the routing list, like this:

192.168.0.0/255.255.0.0/192.168.1.1 0.0.0.0/0.0.0.0/public

Then the PBX would present 192.168.1.1 in the LAN and whatever-is-the-public-address in all other cases.

The PBX expects in the response from the web server a IP address in human readable format, or in JSON-format, where the object must contain a entry called “ip” (for example, see http://myjsonip.appspot.com/). It is possible to use public servers, but you also use your own servers obviously.

The failover will obviously take some time. The polling interval determines how fast the change is being detected. Obviously there is a tradeoff between polling (too) often and the time it takes to reflect the new address.

The new settings will be available right under the replacement list. It will be available in 5.2.5.

Latest Articles

View All

How A Call Center Works (and How to Make It Work for Your Business) Easy on Hold and Vodia

Even with so many ways to engage with a company or brand, including and particularly social media, today’s customers still prefer voice to connect with your business. So, the phone remains a core component of the customer experience, but many call centers are unaware 86 percent of their customers experience significant hold time when they do call. This is where high-value queues and on-hold content can vastly improve the customer experience.

March 9, 2022

VODIA COMMITS TO SUPPORTING AVAYA PHONES

“We are the perfect solution for Avaya customers,” said Kyle Asbury, Director, Sales and Marketing, Vodia. “If you stay with Avaya, we’ll support you; if you want to go with another brand, we can help you migrate to both another IP phone brand and to our best-in-class, feature-rich, easy-to-deploy, robust and secure cloud PBX.”

March 9, 2022

ALL I NEED IS A COMFY CHAIR AND AN OUTLET: REMOTE WORK HAS BECOME “THE NEW NORMAL”

Another factor driving hybrid and remote work is inflation, 9.1 percent in the USA as of July 2022, while many economists are pricing in a recession for the euro zone either later this year or in 2023, with inflation in the zone forecasted at 8.3 percent for this year. With the price of goods and services lofted skyward by inflation, and the average price of a gallon of gas across the USA above $4.00 per gallon, working from home gives Americans the chance to reduce the amount of money they spend on commuting and meals and other incidental costs related to working on-site every day.

March 9, 2022