Book Image

Elastix Unified Communications Server Cookbook

Book Image

Elastix Unified Communications Server Cookbook

Overview of this book

Table of Contents (24 chapters)
Elastix Unified Communications Server Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Description and Use of the Most Well-known FreePBX Modules
Addon Market Module
Asterisk Essential Commands
Asterisk Gateway Interface Programming
Helpful Linux Commands
Index

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:

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