- Cisco Unified Communications Manager 8:Expert Administration Cookbook
- Tanner Ezell
- 510字
- 2021-08-06 20:02:43
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:
- 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:
- 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*:
- 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:
- Here the Translation Pattern must match only the DID range for the location. For our recipe the pattern is
For our pattern, it is necessary to set Discard Digits to PreDot and Prefix Digits to the site code—12 in this recipe.

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.
- SignalR Realtime Application Cookbook
- 網(wǎng)絡科學視角下的推薦系統(tǒng)研究
- Learn pfSense 2.4
- Bootstrap從入門到項目實戰(zhàn)
- 網(wǎng)絡掃描技術揭秘:原理、實踐與掃描器的實現(xiàn)
- 巧學巧用Dreamweaver CS6、Flash CS6、Fireworks CS6網(wǎng)站制作
- 混合云架構
- RocketMQ技術內(nèi)幕:RocketMQ架構設計與實現(xiàn)原理
- UG NX 12.0數(shù)控編程與加工案例教程
- 計算機網(wǎng)絡
- 監(jiān)控平臺解密:IT系統(tǒng)風險感知和洞察
- Adobe XD界面設計與原型制作教程(全彩)
- 云計算架構技術與實踐(第2版)
- 網(wǎng)絡設備配置與管理
- Apache Solr Beginner's Guide