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


- Spring Cloud Alibaba核心技術(shù)與實戰(zhàn)案例
- JavaScript 從入門到項目實踐(超值版)
- AngularJS Web Application Development Blueprints
- Learning SAP Analytics Cloud
- Oracle數(shù)據(jù)庫從入門到運維實戰(zhàn)
- Python Data Structures and Algorithms
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- Learning Bootstrap 4(Second Edition)
- Mastering Leap Motion
- Python Automation Cookbook
- Vue.js 3.x高效前端開發(fā)(視頻教學(xué)版)
- 計算機系統(tǒng)解密:從理解計算機到編寫高效代碼
- Google Maps JavaScript API Cookbook
- Zend Framework 2 Cookbook
- 精通Oracle 12c 數(shù)據(jù)庫管理