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

The Vodia PBX Is Now Certified for Microsoft Teams

Vodia is excited to announce that its PBX is now certified for Microsoft Teams, enabling seamless voice integration with Teams’ collaboration tools. This certification allows Teams users to leverage advanced PBX features, such as call routing, auto attendants, voicemail, and more, while ensuring secure and high-quality voice services. The integration also supports various industries like hospitality, healthcare and manufacturing, where Teams users can now make and receive calls via Vodia’s certified SBC. With the Vodia PBX, organizations can streamline their communication processes and reduce costs while ensuring continuity and flexibility across all channels.

November 19, 2024

VoIP for Enterprises: Vodia Streamlining your Communications

Vodia’s enterprise VoIP solution provides a versatile and scalable communications platform tailored to businesses of all sizes. The Vodia PBX enables high-quality VoIP calls, with features like scalability, robust security and a range of rich functionalities. Its adaptability across devices and cloud environments makes it highly flexible for diverse IT infrastructures. For hybrid workplaces, Vodia’s system supports multiple network interfaces, eliminating the need for VPNs by enabling seamless communication for remote and on-site staff. Integrating easily with major SIP-based devices and third-party tools Vodia helps enterprises streamline their workflows with unified communications across voice and messaging.

November 12, 2024

Vodia Ring Groups - An Overview

The Vodia PBX provides businesses with a comprehensive telephony solution designed for both on-premise and cloud systems, offering features like audio conference rooms, auto attendants, voicemails, call forwarding, and ring groups. A ring group, or hunt group, directs incoming calls to designated team members using strategies like simultaneous or sequential ringing, ensuring calls reach an available agent quickly. Vodia’s PBX supports multi-stage call routing, customizable ring melodies, CRM integration, and options like music on hold and call recording. Ideal for enterprises managing low-volume call groups, Vodia’s system enhances accessibility and call management efficiency for businesses worldwide.

November 7, 2024