• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • Life always offers you a second chance ... Its called tomorrow !!!

    Wednesday, March 06, 2013

    Connecting two IP PBX box using SIP Trunk

    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











    Name you Trunk for my case SIP_Trunk_to_US






















    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.























    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

    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.






















    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






    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.




















    IP PBX 2 192.168.0.200 US

    Configure Outbound trunk with the following settings



    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












    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.

    Related Articles
    Hanging up active calls in Asterisk PBX


    Follow the below links for more tutorials

    Configure Red Hat Cluster using VMware, Quorum Disk, GFS2, Openfiler
    Tutorial for Monitoring Tools SAR and KSAR with examples in Linux
    How to configure Samba 4 Secondary Domain Controller
    How to secure Apache web server in Linux using password (.htaccess)
    How to register Red Hat Linux with RHN (Red Hat Network )
    Red hat Enterprise Linux 5.5 Installation Guide (Screenshots)
    15 tips to enhance security of your Linux machine
    Why is Linux more secure than windows and any other OS
    What is the difference between "su" and "su -" in Linux?
    What is kernel-PAE in Linux?
    What is swappiness and how do we change its value?
    How to log iptables messages in different log file
    How to auto start service after reboot in Linux
    What is virtual memory, paging and swap space?


    6 comments:

    1. It's a good way to do it, but there are more ways to connect your מרכזיות IP

      ReplyDelete
    2. 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

      ReplyDelete
    3. it work thank you so much :) good job man.

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

      ReplyDelete
    5. where are the others ways to connect this?

      ReplyDelete
    6. 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.

      ReplyDelete