Thursday, February 18, 2010

Linking 2 Remote Trixbox Server

From: Joseph Hades

If you have multiple trixbox systems that you want to branch, whether they are on your network or not, this can be easily done with IAX.

If you are connecting two systems together over the internet, you need to open up port 4569 (UDP) on both ends and point it to the trixbox system.

1. On the secondary trixbox system, go to the PBX web interface, and go to the Extensions module. Create an IAX2 extension. Give it whatever extension number you would like. In this example we are using extension 250.
2. On the primary system, go to the Trunks module and Create a new IAX2 trunk
3. Name the trunk whatever you want. Under PEER Details, paste this code. Make sure to change the appropiate fields:
username=250
type=friend
trunk=yes
secret=extension secret
host=secondary trixbox IP address
context=from-internal
4. Under Outbound Routes, create a new route. In this example, we want to dial extensions in the 500 range on the secondary trixbox system, so insert 5XX in the dial plan. Under Trunk Sequence, select your IAX trunk you have just created.
5. On the primary system, create a new IAX extension.
6. On the secondary system, go to the Trunks module and Create a new IAX2 trunk
7. Name the trunk whatever you want. Under PEER Details, paste this code. Make sure to change the appropiate fields:
username=251
type=friend
trunk=yes
secret=extension secret
host=primary trixbox IP address
context=from-internal
8. Under Outbound Routes, create a new route. In this example, we want to dial extensions in the 400 range on the primary trixbox system, so insert 4XX in the dial plan. Under Trunk Sequence, select your IAX trunk you have just created.

No comments:

Post a Comment