Connecting two IP PBX box using SIP Trunk

Lab Environment

Suppose you have two IP PBX box one at INDIA and other at US and you want to integrate all the SIP extensions created on both the server with each other so that they can make calls to each other.

IP PBX 1 (India)

SIP Extension : 1000, 1001
192.168.0.100

 

IP PBX 2 (United States)

SIP Extension : 2000, 2001
192.168.0.200

We will have to create an internal SIP Trunk connecting both the PBX box. Follow the below mentioned steps to do the same

 

Configuring IP PBX for server 192.168.0.100

 Click on Connectivity and select Add SIP Trunk
Connecting two IP PBX box using SIP Trunk

 

Name you Trunk for my case SIP_Trunk_to_US
freepbx

Configure your Outgoing and incoming settings as shown below. Create a user for incoming calls and one for outgoing which will be used on the US server for authentication purpose.

freepbx

Configuring IP PBX on 192.168.0.200 (US)

 Open the SIP Trunk as shown above with the following configuration. Use any Trunk Name as in my case SIP_Trunk_to_IN
Connecting two IP PBX box using SIP Trunk

Configure the Outgoing and incoming settings as shown below. Be sure you use the same user for incoming which you used for outgoing in INDIA SIP Trunk.

Connecting two IP PBX box using SIP Trunk

Save and apply the configuration. Now we need to configure outbound routes on both the servers

 

IP PBX 192.168.0.100 (India)

Click on Connectivity and select Outbound Route

Connecting two IP PBX box using SIP Trunk

Configure the route as shown below

The dial plan I have used is X. which means that any extension from IN can call to any extension in US.

Connecting two IP PBX box using SIP Trunk

IP PBX 2 192.168.0.200 US

Configure Outbound trunk with the following settings

Connecting two IP PBX box using SIP Trunk

Click on Submit and Apply the configuration on both the servers
On the home page of your PBX web console you should be able to see IP Trunk Online

Connecting two IP PBX box using SIP Trunk

Now you should be able to make calls from 1000 to 2000 i.e from India PBX to US PBX.

Let me know your success and failure.

 

8 thoughts on “Connecting two IP PBX box using SIP Trunk”

  1. Business Phone Service is ideal for small business and entrepreneurs. It gives a professional image and make sure that you don't miss a single call. Few months back, I decided to buy Hosted pbx from Telcan. You can get more information here: Business Phone Service

    Reply
  2. This diagrammatic representation has made it so clear in how to connect two IP PBX box using SIP Trunk. Thanks for sharing
    Regards- speechpath.ie/index.php/sip-trunks/

    Reply
  3. Hi man
    I setup as your way, but It cannot work.
    When I make the call it say "all circuit are busy now, please try again later"
    Could you help me. Thank you very much.

    Reply

Leave a Comment