Knowledge BaseThe Digium Knowledge Base is a searchable library of troubleshooting advice and current information updated by Digium support technicians. |
|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
Knowledge Base / Switchvox PBX / PBX Administration and Features / How do I peer two Switchvox systems using IAX?
How do I peer two Switchvox systems using IAX? |
|||||
This guide will explain how to peer two systems using IAX. Let's assume that you have two offices, one in Chicago and one in Tokyo. Both have their own Switchvox installation and broadband connection. Your goal is to be able to reach any 3 digit extension in either office without dialing extra numbers. This can be accomplished by Peering. By peering the two systems together, calls between the Chicago and Tokyo offices are free, due to the fact that we do not use any phone service provider to make them. Your first step is to decide how to assign extensions. In order to make the call routing easier, it's a good idea to make all of the Tokyo extensions start with one number, and all of the Chicago extensions start with another number. For example, you would make all the Tokyo extensions start with 2 and all the Chicago extensions start with 4. e.g., 2XX will reach Tokyo, 4XX will reach Chicago. Next, configure each Switchvox PBX in each area as usual, assigning Chicago extensions in the 200s and assigning Tokyo extensions in the 400s. The rest of this document will involve logging into the admins on both sites, so if you only have access to one network you'll need a person at the other site with access to the PBX admin. Order doesn't really matter here. If the Chicago admin gets configured on Monday, but the Tokyo PBX isn't configured until Tuesday, it will still work after both are completed.The next goal is to allow calling across any network router that performs NAT. If the IP address of your Switchvox PBX is in the following ranges, it is likely that it is behind a NATting router: 192.168.0.0 - 192.168.255.255 You will need to enable port forwarding on your router to allow calls to reach your PBX. The following ports need to be forwarded from your router to your PBX for IAX: UDP port 4569 To enable port forwarding, check with the documentation for your router. Documentation on port forwarding for many common brands of routers can be found at: http://www.portforward.com You will need to forward the above ports on both networks, i.e. both the Chicago and Tokyo routers will have to be configured in our example. After port forwarding has been enabled on both routers, you will need to tell the PBX of this change. This will need to be done on each PBX that is behind a NATting router.
On the Tokyo PBX admin: Click the "VOIP Providers" option of the "System Setup" menu. Select "Add A New IAX Provider".
![]()
Scroll down and click on the "Add IAX Provider" button. ![]() In order to complete the peering setup, you need to repeat these steps on the Chicago admin screen. On the Chicago admin page: Click the "VOIP Providers" option of the "System Setup" menu. Select "Add A New IAX Provider".
![]()
![]() Now that the two peers have been created, you need to tell Switchvox how to route calls between the two sites. As with the SIP Providers setup, this needs to be done on both PBXs. On the Tokyo admin page:
![]()
Next, return to the Chicago admin page and add a call rule to allow Chicago to call Tokyo. On the Chicago admin page:
![]()
|
|||||






