- Elastix Unified Communications Server Cookbook
- Gerardo Barajas Puente
- 400字
- 2021-07-23 19:38:51
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…
- Change the current context of the analog trunk to from-zaptel by editing the
chan_dahdi.conf
file. - Go to the PBX | Tools | Asterisk File Editor menu.
- Search for the link named
chan_dahdi.conf
and click on it. - Search for the line or trunk that you want to assign a DID to and change the current context to from-zaptel.
- Click on the Save button and then on the Reload Asterisk button.
- 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: This is a description of our channel or DID to identify it.
DID: This is the number the Carrier assigns to any line. DID means Direct Inward Dialing (DID) and is also called direct dial-in (DDI). Typically, any DID is represented by the last 4 digits of the called number. In digital lines, these numbers are the ones that can be routed within a PBX.
- Click on the Submit Changes button, and then on Apply Changes.
- Go to the PBX | PBX Configuration | Inbound Routes menu. In the DID Number field, enter the number that we entered in the DID field in the last step.
- At the bottom of the page, select the destination (Set Destination) for the incoming routed calls. In the following images, we will show how to route the incoming calls on analog port 65 to extension 7003:
- Click on the Submit Changes button, and then on the Apply Changes link.
There is more…
The main destinations that we can choose are as follows:
- Extensions
- IVR
- Phone directory
- Terminate call
- Trunks
- Voicemail
These options may increase depending on the features we add or configure, as long as we do it on our PBX. For DIDs related to digital trunks (E1, BRI, SIP, etc.), the process is almost the same. We can route DID 9999 to an IVR, as shown next:


- 國際大學生程序設計競賽中山大學內部選拔真題解(二)
- JavaScript修煉之道
- Redis入門指南(第3版)
- WSO2 Developer’s Guide
- Servlet/JSP深入詳解
- 從0到1:HTML+CSS快速上手
- C語言最佳實踐
- Koa開發:入門、進階與實戰
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- Learning Apache Mahout Classification
- Getting Started with Laravel 4
- 零基礎入門學習Python(第2版)
- Learning YARN
- Android嵌入式系統程序開發:基于Cortex-A8(第2版)
- 石墨烯改性塑料