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

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…
主站蜘蛛池模板: 陈巴尔虎旗| 寻乌县| 永济市| 武隆县| 额济纳旗| 桂东县| 乌兰县| 繁昌县| 方山县| 北川| 镇宁| 武定县| 南丹县| 亳州市| 昭通市| 灯塔市| 出国| 桐柏县| 体育| 荥阳市| 巧家县| 砀山县| 大足县| 哈巴河县| 夏邑县| 马关县| 顺义区| 桃园县| 河源市| 梁平县| 鸡泽县| 徐州市| 沙河市| 鄂托克前旗| 丰原市| 田林县| 静安区| 徐水县| 铜梁县| 焉耆| 冀州市|