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

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.

主站蜘蛛池模板: 甘谷县| 社旗县| 扎兰屯市| 三明市| 竹山县| 合川市| 吴旗县| 尤溪县| 汾西县| 乳源| 巴中市| 徐闻县| 庄浪县| 美姑县| 灌南县| 都江堰市| 双辽市| 邛崃市| 会昌县| 重庆市| 同江市| 肇庆市| 荔波县| 竹北市| 泰来县| 莆田市| 万源市| 宜昌市| 遂平县| 凌云县| 林芝县| 遵义县| 红桥区| 江西省| 宁国市| 定陶县| 余江县| 庆安县| 沙河市| 措勤县| 潮安县|