官术网_书友最值得收藏!

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:
    How to do it…

    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.

  7. Click on the Submit Changes button, and then on Apply Changes.
  8. 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.
  9. 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:
    How to do it…
    How to do it…
  10. 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:

There is more…
There is more…
主站蜘蛛池模板: 栾城县| 固原市| 马公市| 乐清市| 聂拉木县| 长岛县| 淅川县| 府谷县| 曲周县| 乐清市| 安远县| 民权县| 桑植县| 商南县| 精河县| 富宁县| 太白县| 贵南县| 揭东县| 筠连县| 定安县| 阿拉善右旗| 孝昌县| 十堰市| 吉水县| 文登市| 霞浦县| 启东市| 龙江县| 屯留县| 台江县| 兴国县| 长阳| 中江县| 宁阳县| 宁强县| 广河县| 华安县| 泽库县| 新建县| 芒康县|