If want to branch together multiple Trixbox phone systems, whether they are on your local network or not, this can be done with IAX. If the two machines are on different networks, you’ll need to open UDP port 4569 on both ends and point it to the Trixbox systems. Now follow these simple steps to connect up your system and make low cost point to point calls over the Internet with your hardware or software IP phones.
- On the secondary system, login to the admin console (Free PBX) and go to the extensions tab.
- Create an IAX2 extension with any number you would like, example: 200
- On your primary system, login to the admin console and go to the trunks tab.
- Create a new IAX2 trunk with any name. Under PEER, paste something like this:username=200 type=friend trunk=yes secret=extension secret host=xxx.xxx.xxx.xxx <– Your secondary Trixbox address context=from-internal
- Under ‘outbound routes’ on the primary box, create a new route. Let’s say, for example, we want to dial extensions in the 500 range on the secondary box. Just insert 5XX in the dial plan.
- Under Trunk Sequence, select your IAX trunk you have just created.
- On the primary system, create a new IAX extension.
- On the secondary system, go to Trunks and make a new IAX2 trunk. Under PEER, paste something like this:username=201 type=friend trunk=yes secret=extension secret host=xxx.xxx.xxx.xxx <– Your primary Trixbox address context=from-internal
- Go to ‘outbound routes’ and make a new route. Let’s say, for example, we want to dial extensions in the 400 range on the primary box. Just insert 4XX in the dial plan.
- Under Trunk Sequence, select your IAX trunk you have just created.
Test and Enjoy! Good times…