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

Inbound calls


Inbound calls allow us to route incoming calls to specific destinations or applications such as Voicemail and Conference Bridge. We will show the recipes for configuring inbound routes for analog trunks. This recipe is for routing any call from an analog trunk to any service inside our PBX. Remember that we are routing the channel because in analog trunks, there is no DID information, just Caller ID.

How to do it…

  1. Change the current context of the analog trunk to from-zaptel by editing the chan_dahdi.conf file.

  2. Go to the PBX | Tools | Asterisk File Editor menu.

  3. Search for the link named chan_dahdi.conf and click on it.

  4. Search for the line or trunk that you want to assign a DID to and change the current context to from-zaptel.

  5. Click on the Save button and then on the Reload Asterisk button.

  6. Return to the PBX | PBX Configuration | Zap Channels DIDs menu and fill out the information as follows:

    Channel: This is the internal channel where the analog line is connected/mapped.

    Description...