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 Now Integrates with Grafana®

Vodia now integrates with Grafana Labs®' technology to enhance observability in installations, addressing the needs of critical infrastructure environments like emergency services and healthcare. By integrating with Grafana's® scalable metrics, logs and traces solutions, Vodia ensures secure and reliable communication systems. This integration enables geo-redundant deployment and proactive incident response, supporting Vodia's commitment to IT security. Vodia also provides extensive support for implementing, monitoring and auditing these high-availability communication solutions, ensuring seamless integration with various platforms and adherence to stringent data protection measures.

June 19, 2024

The End of the Line

NEC's exit from the on-premise telephone systems market has left many customers at a crossroads, seeking effective alternatives. Vodia provides a seamless transition to our on-premise PBX, utilizing a proven migration path and advanced VoIP technology. In recent migrations, we observed the deep-rooted reliance on "lines" within NEC systems. Our approach ensured a smooth adaptation, teaching users to transition from the old two-step process to a more intuitive VoIP interface. VoIP eliminates physical lines, offering a robust, efficient, and user-friendly communication solution. With Vodia, your organization can continue to communicate effectively, ensuring business continuity and enhanced communication capabilities.

June 10, 2024

#SmartCommunication For Successful Learning

Effective communication is pivotal in enhancing learning experiences. Collaboration between educators and parents fosters a positive environment for students. Amidst the digitalization of education, prioritizing #SmartCommunication is essential for seamless integration of technology into teaching and learning. As learning methods evolve, educators are transforming into facilitators, guiding learners towards acquiring, applying and sharing knowledge. The role of assessment is also evolving, emphasizing the application and utilization of knowledge. While technology shapes the future of education, personal interaction remains vital.

June 7, 2024