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

Implementing least cost call routing using Tail End Hop Off

Least Cost Routing (LCR) is not strictly limited to calls destined for the PSTN, instead LCR can be used to prevent OnNet calls from being routed OffNet. In this recipe we will cover both uses.

Getting ready

Before we begin this recipe it is helpful to have some information:

  • DID ranges of locations for which we are implementing LCR
  • Site codes of locations for which we are implementing LCR
  • Local numbers per location for Tail End Hop Off

In this recipe we will implement LCR and Tail End Hop Off for calls destined to an office in San Francisco. We will assume the following:

  • DID Range for this location: +1 415 555 1000 to 1099
  • Site code for this location: 11
  • Local numbers for this location: 415 XXX XXXX

How to do it...

To implement Least Cost Routing for a location, we need to perform the following:

  1. Add a new route list that will contain the route group with the gateway or trunk device local to the location for which we are implementing LCR, as well as the Standard Local Route Group:
    How to do it...

    Note

    The order here is important. Ensure the local route group is above the Standard Local Route Group in the list.

  2. Add a new route pattern to send local calls to our new route list. Key fields to note here are Route Pattern, Route Partition, and Gateway/Route List*:
    How to do it...

    Tip

    Here we have unchecked Provide Outside Dial Tone as it is unused, but feel free to leave it checked.

  3. Next add a translation pattern (Call Routing | Translation Pattern, then click on Add New) that is responsible for converting E.164 numbers to their internal extensions.
    • Here the Translation Pattern must match only the DID range for the location. For our recipe the pattern is \+1415555.10XX. For the partition use something that is globally accessible, for example PT-Global-E164:
    How to do it...

For our pattern, it is necessary to set Discard Digits to PreDot and Prefix Digits to the site code—12 in this recipe.

How to do it...

How it works...

Least cost routing with Tail End Hop off is accomplished by sending calls to locations where the call would cost the least. In addition to Tail End Hop Off, we can accomplish least cost routing by recognizing when a user dials the DID to another user on the same cluster by converting the E.164 number to the local extension and routing over the IP network.

There's more...

Once more we see the benefits of the logical nature of local route groups. By having localization settings at the gateway level, we don't have to worry about formatting and allow the local gateway to normalize the call as required by the PSTN. In the event that the call cannot be made through the gateway or trunk device at the local site, the call will fall back to the gateway or trunk device local to the originating caller.

Do remember that Tail End Hop Off is not legal in all countries. Check with local regulations before implementing it.

主站蜘蛛池模板: 龙游县| 股票| 西昌市| 大田县| 鄢陵县| 来宾市| 炉霍县| 迁安市| 西青区| 青海省| 镇原县| 定兴县| 兴隆县| 额济纳旗| 辽阳市| 北辰区| 呼和浩特市| 通许县| 滨海县| 宕昌县| 甘孜县| 交口县| 尉犁县| 衡山县| 舞阳县| 永胜县| 闵行区| 麻栗坡县| 衡阳县| 赤水市| 凉山| 大丰市| 江北区| 牟定县| 永年县| 奉贤区| 福清市| 光山县| 广安市| 辰溪县| 九龙城区|