Jump to content

Assigning Multiple IP's to Vodia PBX (IP Routing List) behind Firewall


Recommended Posts

My problem is as unique..


I have 2 connections from different ISP's, primary being fibre optic network one and back up being a wireless radio network one


I have a router configured to use ISP1(41.xxx.xxx.xxx) as primary connection and ISP2 (196.xxx.xxx.xxx) as backup connection if ISP1 Fails.


Ports 5060, 80(http), 443(https), 5060(sip) & 49152-64512(RTP) have been forwarded from ISP1 & ISP2 to Vodia PBX on


IP Routing List can only be put as below with only 1 IP (ISP)


I would like to ask how do find a way to assign both IP's to communicate with remote phones,


I want to configure backup IP address as failure identity in the user agents.


Please advise.....



Link to comment
Share on other sites

I see two possibilities for this. The first one uses a DNS address which must be updated by the router or some other program outside, then the replacement list would be and this would also require that all devices are able to resolve DNS addresses properly (could be a problem in the SDP, not sure).


The other possibility would be to have an external program use a REST call in the PBX to dynamically change the setting for the routing table. The PBX is able to deal with such changes on the fly; however it would require some shell script running on the PBX to get that done. If the PBX is running on Linux, this could be a bash script that is polling some what-is-my-ip-address web site or the router to figure out what address to use and then use another curl call to tell the PBX what the routing table should look like.

Link to comment
Share on other sites

  • 3 weeks later...

Here is an example on how to change a global setting on the PBX.



Global Configuration File

The PBX uses a global file for configuration information which cannot be assigned to a specific domain. This file is located in the working directory of the PBX and has the name "pbx.xml" by default. It is a standard XML file, encoded in UTF-8.

Most of the settings are accessible from the web interface. However, there are some settings that usually should not be changed which are "hidden". However, changing them does change the behavior of the PBX. If you do changes to this file, you need to restart the service. As usual, we recommend that you make a backup before changing this file.

If you don't like to change the file, you can also use the web interface to create a request that changes the setting. It does the same thing like pressing the save button in the admin mode. For example if the address of the pbx is "pbx" and the setting that you want to change has the name "setting" (to the value "123"), then you can manually hand craft the URL:


Ex: To change the CDR format of a PBX running on a localhost, one would use something like this:


Caution : The above link will change your CDR format if you click on it with the PBX is running on the localhost!!!!


Here is an example of the routing IP






Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...