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

Implementing short dial numbers

In this recipe we will set up basic short dials on a per location basis.

Getting ready

We will need a location-specific partition for the location for which we are implementing short dials. In this recipe we use PT-SFO-DialPlan.

How to do it...

To implement short dials for a location, perform the following:

  1. Add the short dials partition to the calling search space of the device for the relevant location (Call Routing | Class of Control | Calling Search Space):
    How to do it...

    Note

    Order is important here. Generally, short dials follow system numbers and directory numbers in the partition order.

  2. Create and save a translation pattern for the short dial in an appropriate partition (Call Routing | Translation Pattern):
    How to do it...
  3. Fill in Translation Pattern and Partition as appropriate. Here we use 4357 and PT-SFO-DialPlan, respectively.
  4. Calling Search Space is of special note. Here, we apply a device calling search space appropriate to the location, CSS-SFO-Device.
    How to do it...
  5. Finally, under the Called Party Transformations section, we change Called Party Transform Mask to the final number, 2222 in this recipe.

How it works...

When a call matches the translation pattern, the called number is translated as per our rule to 2222, and the call continues to be routed normally.

It is important to remember that the number we are translating must be accessible from the translation pattern.

How call routing works with short dials

When a user enters a short dial number, it is modified by the appropriate translation pattern and then routed normally. However, in the case of short dials, calling search spaces and, to a lesser extent, partitions play a vital role in routing the call properly.

Before a number is modified by a translation pattern and routed, the pattern will first attempt to match a pattern or number in the same partition as the translation pattern. If no match is found the applied calling search space will be used to search partitions for a match. It is because of this behavior that it is important for the short dial translation pattern to have access to the same partitions as the device, and that is why we choose to use a device calling search space appropriate to the location.

主站蜘蛛池模板: 东乌珠穆沁旗| 新巴尔虎右旗| 曲靖市| 都昌县| 昌宁县| 苍山县| 新野县| 湘乡市| 湘阴县| 溆浦县| 太仓市| 邢台市| 容城县| 布拖县| 江津市| 惠安县| 景谷| 祁门县| 盐亭县| 区。| 霸州市| 彝良县| 曲靖市| 郎溪县| 金秀| 伊宁市| 章丘市| 金堂县| 紫金县| 三都| 开封市| 饶河县| 大新县| 宁国市| 云南省| 分宜县| 洞口县| 盘山县| 大新县| 武乡县| 汶上县|