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

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.

主站蜘蛛池模板: 兴宁市| 迁西县| 喜德县| 高平市| 鄄城县| 会东县| 龙山县| 伽师县| 正阳县| 蓝山县| 怀集县| 万州区| 大理市| 北海市| 德格县| 林周县| 望江县| 桓仁| 贵德县| 张掖市| 万州区| 长春市| 治多县| 繁昌县| 五家渠市| 商南县| 望城县| 嘉兴市| 留坝县| 抚松县| 文登市| 凤翔县| 五原县| 民权县| 青神县| 贺兰县| 阿城市| 雷州市| 启东市| 晋宁县| 安西县|