How to connect two Trixbox IP phone systems

Freshness Warning
This post is more than 3 years old. Please bear in mind its age when reading.

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.

  1. On the secondary system, login to the admin console (Free PBX) and go to the extensions tab.
  2. Create an IAX2 extension with any number you would like, example: 200
  3. On your primary system, login to the admin console and go to the trunks tab.
  4. 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
  5. 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.
  6. Under Trunk Sequence, select your IAX trunk you have just created.
  7. On the primary system, create a new IAX extension.
  8. 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
  9. 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.
  10. Under Trunk Sequence, select your IAX trunk you have just created.

Test and Enjoy! Good times...

I'm running the 39th BMW Berlin Marathon on 30th September 2012 for the British Lung Foundation, who are currently funding research on the prevention of lung damage in COPD and many other areas related to lung disease.

I'm participating with my sister Claire Kewney and, on behalf of the charity, would appreciate even the smallest donation. My own JustGiving page is here, our team page is here.

if you're in the UK, you can also donate using your mobile phone by texting NKEW82 £5 (or any amount) to 70070. Your donation will be appreciated!

Comments

Your Comment
Your Name
E-mail Address (This won't be published)
Website URL

You can manage your Kewney.com account by logging in. [ Log On ]