  Leathal Premium join:2002-02-09 Toronto, ON | Trixbox question
How do I connect two trixbox systems together so they are acting as one over the internet without having to buy a trunk?
Leathal |
|
 celtic
join:2001-02-08 USA
| You can do that but it sounds like overkill. Set up 1 server and use sip phones or adapters at as many locations as you want. You can call each other, transfer calls, access remote lines from any phone, answer incoming calls from remotes and much more. |
|
  Leathal Premium join:2002-02-09 Toronto, ON | Overkill? Well we'll be saving on the long-distance between the two offices... Boston to Toronto. 
Leathal |
|
 hoolahoous
join:2004-08-25 Red Valley, AZ | you can setup an IAX trunk between them. In addition if you want common dialplan then use dundi. |
|
  KLH
join:2001-09-24 Vincennes, IN
·Cinergy
| reply to Leathal said by Leathal :Overkill? Well we'll be saving on the long-distance between the two offices... Boston to Toronto.  Leathal I believe what celtic was refering to is just use one server, and have all your toronto clients log into your boston server. |
|
  Leathal Premium join:2002-02-09 Toronto, ON
| said by KLH :said by Leathal :Overkill? Well we'll be saving on the long-distance between the two offices... Boston to Toronto.  Leathal I believe what celtic was refering to is just use one server, and have all your toronto clients log into your boston server. Well I could do a single server installation however both sites will want IP phones I am sure, and the trix machines won't be connecting into any analog, digital, or trunk lines.
Leathal |
|
  tommy13v Premium join:2002-02-15 Glenville NY
·ViaTalk
1 edit | Right so the IP phones at the remote location would connect to the server in Boston.
If you want to do an IAX trunk then here are the settings.
IAX Trunking
On boxA (192.168.1.101):
- Select "Trunks" - Select "Add IAX2 Trunk"
- Trunk Name: boxB-peer - PEER Details: allow=ulaw disallow=all host=192.168.1.102 secret=123123 type=peer username=boxA-user
- User Context: boxB-user - USER Details: allow=ulaw context=from-internal disallow=all host= 192.168.1.102 secret=123123 type=user
- Register String: Leave Blank
Submit the Trunk and Apply changes.
Now click on Outbound routing and add 7|. to the Dial Patterns box and then select the trunk name in the squence box below. Hit Submit and then the Red bar at the top of the page.
On boxB (192.168.1.102):
- Select "Trunks" - Select "Add IAX2 Trunk"
- Trunk Name: boxA-peer - PEER Details: allow=ulaw disallow=all host= 192.168.1.101 secret=123123 type=peer username=boxB-user
- User Context: boxA-user - USER Details: allow=ulaw context=from-internal disallow=all host= 192.168.1.101 secret=123123 type=user
- Register String: Leave Blank
Submit the Trunk and Apply changes.
Now click on Outbound routing and add 7|. to the Dial Patterns box and then select the trunk name in the squence box below. Hit Submit and then the Red bar at the top of the page.
At this point, users on boxA can dial 7 to access any dialplan items on boxB and visa-versa.
Please change the IP addresses in the steps below to the public IP addresses that your 2 asterisk servers our on. |
|
  Leathal Premium join:2002-02-09 Toronto, ON
| said by tommy13v :Right so the IP phones at the remote location would connect to the server in Boston. If you want to do an IAX trunk then here are the settings. IAX Trunking On boxA (192.168.1.101): - Select "Trunks" - Select "Add IAX2 Trunk" - Trunk Name: boxB-peer - PEER Details: allow=ulaw disallow=all host=192.168.1.102 secret=123123 type=peer username=boxA-user - User Context: boxB-user - USER Details: allow=ulaw context=from-internal disallow=all host= 192.168.1.102 secret=123123 type=user - Register String: Leave Blank Submit the Trunk and Apply changes. Now click on Outbound routing and add 7|. to the Dial Patterns box and then select the trunk name in the squence box below. Hit Submit and then the Red bar at the top of the page. On boxB (192.168.1.102): - Select "Trunks" - Select "Add IAX2 Trunk" - Trunk Name: boxA-peer - PEER Details: allow=ulaw disallow=all host= 192.168.1.101 secret=123123 type=peer username=boxB-user - User Context: boxA-user - USER Details: allow=ulaw context=from-internal disallow=all host= 192.168.1.101 secret=123123 type=user - Register String: Leave Blank Submit the Trunk and Apply changes. Now click on Outbound routing and add 7|. to the Dial Patterns box and then select the trunk name in the squence box below. Hit Submit and then the Red bar at the top of the page. At this point, users on boxA can dial 7 to access any dialplan items on boxB and visa-versa. Please change the IP addresses in the steps below to the public IP addresses that your 2 asterisk servers our on. Okay do you know anything about about networks?
When you do VPN site-to-site both sides can not be on the same IP address. Hence one of the many reason why people do not setup their corporate offices on the same IP addresses.
Leathal |
|
  tommy13v Premium join:2002-02-15 Glenville NY
·ViaTalk
1 edit | Yes, I am aware of VPN's and set them up a few times a week. Did you need help with that as well? I use FreeSwan primarily with my own Linux firewalls. I am aware that they are not on the same subnet.
If you are referring to my instructions then you need to change the IP's to match those that you are using. They are for information purposes only as stated. -- Click to Call for Asterisk servers byodvox coming soon |
|
  global_dev
join:2005-09-23 Woodbridge, VA
·callwithus
| reply to Leathal I may not be correct, but I think 2 servers would not be overkill if you wanted Boston to call out to Toronto local, and Toronto to call out to Boston local without incurring long distance charges.
If you are just calling between offices than the previous solutions are probably more appropriate. |
|
 druber
join:2000-04-11 Marlborough, MA | reply to Leathal
Nice response. With this kind of attitude, I wonder how often you actually get a helpful response? (as opposed to the other poster thinking "what an a**hole, screw off...") |
|