06-28-2012 07:41 PM - edited 03-16-2019 11:55 AM
Hi there, I have following configuraton in CUCM 8.6
Translation Pattern -- 00.[2378]XXXXXXXX ( AU-National-PT)
Route Pattern -- 00883507111
I tested on the DNA, the call flow is skipping the Translation Pattern and match the Route pattern first. correct me if I am wrong, but my understanding is that the dialed digits always go through the Translation Pattern first if there is no match then move to route pattern, no matter whether there is more specific match in the Route Pattern, am I correct here? thanks. Roy
Solved! Go to Solution.
06-28-2012 08:31 PM
No, that's wrong. CUCM always uses best match routing. The system is working as designed by bypassing that TP if the RP is a best match.
I recommend you to read the SRND, dial plan chapter to fully understand how this works.
HTH
java
if this helps, please rate
www.cisco.com/go/pdihelpdesk
06-28-2012 08:31 PM
No, that's wrong. CUCM always uses best match routing. The system is working as designed by bypassing that TP if the RP is a best match.
I recommend you to read the SRND, dial plan chapter to fully understand how this works.
HTH
java
if this helps, please rate
www.cisco.com/go/pdihelpdesk
06-05-2015 07:40 AM
Hi
Can someone please give more details regarding how this works already? Instead of just referrring us to a massive chapter (like looking for a needle in a haystack) or at least give a sub-heading to make it easier to find the info.
I looked at this SRND link and not winning
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/srnd/9x/uc9x/dialplan.html#wp1043611
06-05-2015 07:50 AM
CUCM always chooses the closes match. If you have a TP and RP with the same pattern, then the TP would win. TP always get processed first but again only if it has the best dial pattern match.
HTH
Yosh
06-05-2015 10:27 AM
Okay thanks guys! But what about everything else i.e. what is the entire hierarchy for the whole dial plan e.g. called/calling party transformations, external phone masks, etc?
06-05-2015 07:39 PM
Hi Thabile Vatsha,
let me try to give you a brief:
for a Called Number ... best match.
for Calling/Called Transformation: Route Pattern < Route List
for External Phone Masks: Device Phone/Device Profile < Route Pattern (Use Calling Party's External Phone Number Mask checkbox) < Route List
for CSS: first the Line, second the Device
Hope this helps.
06-08-2015 03:40 AM
That shed's more light on the matter...just have to play around with CUCM a bit to reinforce the concepts. Thanks guys!
06-09-2015 02:03 PM
Hi,
Just to elaborate and get some SRND level of insight, check the link below how Unified CM uses closest-match logic.
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/srnd/9x/uc9x/dialplan.html#wp1043756
Link Summery
All numeric dialing destinations and directory URIs configured in Unified CM are added to its internal call routing table as patterns. These destinations include IP phone lines, voicemail ports, route patterns, translation patterns, and CTI route points. Unified CM uses two distinct routing tables for numeric dialing destinations and directory URIs.
When a directory URI is dialed, Unified CM uses full-match logic to find a case-sensitive match among the configured directory URIs in the directory URI routing table. When a number is dialed, Unified CM uses closest-match logic to select which pattern to match from among all the patterns in its numeric call routing table. In practice, when multiple potentially matching numeric patterns are present, the destination pattern is chosen based on the following criteria:
•It matches the dialed string, and
•Among all the potentially matching patterns, it matches the fewest strings other than the dialed string.
For example, consider the case shown in Figure 9-36, where the call routing table includes the patterns 1XXX, 12XX, and 1234.
Figure 9-36 Unified CM Call Routing Logic Example
When user A dials the string 1200, Unified CM compares it with the patterns in its call routing table. In this case, there are two potentially matching patterns, 1XXX and 12XX. Both of them match the dialed string, but 1XXX matches a total of 1000 strings (from 1000 to 1999) while 12XX matches only 100 strings (from 1200 to 1299). Therefore, 12XX is selected as the destination of this call.
When user B dials the string 1212, there are three potentially matching patterns, 1XXX, 12XX and 121X. As mentioned above, 1XXX matches 1000 strings and 12XX matches 100 strings. However, 121X matches only 10 strings; therefore it is selected as the destination of the call.
When user C dials the string 1234, there are three potentially matching patterns, 1XXX, 12XX, and 1234. As mentioned above, 1XXX matches 1000 strings and 12XX matches 100 strings. However, 1234 matches only a single string (the dialed string); therefore it is selected as the destination of this call.
HTH
JB
06-05-2015 09:02 AM
Which point are you most interested on?
Best match routing?
01-27-2018 11:48 PM
Can u please explain with scenario by taking example when we use translation pattern instead of route pattern ?
01-16-2020 03:59 PM - edited 01-16-2020 04:19 PM
Say your organization has DID range +12223334XXX, and user 1 is assigned 4001 and user 2 was assigned 4002. now user 1 is dialing full E 164 -- +12223334002 to reach user 2 instead of dialing 4 digit, in that circumstances we would like to use translation pattern so that the call will not go to PSTN and come back -- instead will remain within the system and dial the 4002 extn. this is one scenario.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide