Elastix Unified Communications Server Cookbook
上QQ阅读APP看书,第一时间看更新

Adding VoIP trunks

The VoIP trunks are the ones that allow the voice to travel through a LAN or WAN without the use of telephony cards. In this recipe, we will show how to add a VoIP trunk, irrespective of whether the protocol used is SIP or IAX.

How to do it…

  1. For configuring an IP trunk (using SIP or IAX protocol), go to the PBX | PBX Configuration | Trunks menu.
  2. Click on the Add SIP Trunk link. In this case, we will perform SIP trunking with Asterisk PBX.
  3. Enter the values for the Trunk Name, Peer Details, and User Context. We recommend leaving the others on their default values.
  4. The following three images show the setup and the options that must be entered:
    How to do it…
    How to do it…
    How to do it…

    Tip

    The SIP configuration trunk is very helpful because you can not only SIP trunk another SIP-supported PBX but also use media gateways or channel banks, which use the SIP protocol on one side and traditional telephony on the other. Therefore, we do not need a telephony card to grant your PBX access to the PSTN.

    Setting up an IAX2 protocol trunk is like configuring an SIP trunk. The only difference is that we must first select the IAX2 trunk.