Tech

Different IP Addresses for Failover

Published on:

December 5, 2014

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

Vodia: Optimizing Enterprise VoIP

At Vodia, we recognize the inherent challenges facing enterprise VoIP, particularly in maintaining high-quality audio connections amidst factors like jitter, network latency, and packet loss. These issues disrupt the seamless communication experience essential for business operations. To address these challenges, we've developed innovative solutions within our PBX, such as recording decrypted RTP packets and offering flexible options for data privacy. Our commitment lies in resolving these obstacles efficiently, ensuring businesses can rely on uninterrupted communication without compromising on security or performance.

May 15, 2024

Transcribe Recorded Calls and Voicemails in Multiple Languages with the Vodia Cloud Phone System

Unlock the power of multilingual communication with Vodia's Cloud Phone System, supporting up to 18 languages for transcription and translation. Our global commitment to innovation ensures accessibility to our feature-rich PBX worldwide. Using AI language models, Vodia enables speech-to-text and text-to-speech conversion in 18 languages. Seamlessly integrate languages like Arabic, Spanish, and Japanese into your Vodia PBX. Enhance customer service, streamline call handling and expand your global reach with our multi-language capabilities.

May 7, 2024

Version 69.2.4 of The Vodia Phone System Now Available​

Vodia recently released version 69.2.4, the latest update to their industry-leading cloud phone system. This update boasts a completely rebuilt frontend, providing a modern user experience, and integrates seamlessly with nearly any browser-based platform. A key feature is integration with Grafana, a powerful tool that enables comprehensive monitoring of Vodia instances across various platforms. Version 69.2.4 also brings several other improvements, including the ability to add custom notes to accounts, sending CDR emails for regular extensions, and enhanced support for Mitel 68xx and 69xx series phones.

April 30, 2024