CUCM call pattern length matching with variables question

Not sure if my brain is just fried, but it seems in the INE videos for voice, Mark Snow lays out the following example:
If calling 1001, the numbers 10XX and 1X0X are equal matches, because both X's represent 0-9 and will therefor both need to be equally translated.
It later goes into searching matching patterns belonging to different partitions but on the same CSS, and my question is this:
You are dialing 1001 to the following CSS:
CSS_Test_A
-Partition_A
--1X0X
-Partition_B
--10XX
Would this be subject to partition selection based on top-down order due to matching patterns, or does the match of 10XX win the search because of it's consecutive number matches in the first two digits (similar to IP route selection) despite the fact that they have an equal number of variables?
Again I may be fried, let me know if that's not clear, I'm just too brain dead to google-fu this right now, and hopefully someone else will stumble upon this one day and will also be enlightened.
Thanks for any clarification!
EDIT:
Edited the CSS / Partition naming scheme for above example to match for clarity sake
If calling 1001, the numbers 10XX and 1X0X are equal matches, because both X's represent 0-9 and will therefor both need to be equally translated.
It later goes into searching matching patterns belonging to different partitions but on the same CSS, and my question is this:
You are dialing 1001 to the following CSS:
CSS_Test_A
-Partition_A
--1X0X
-Partition_B
--10XX
Would this be subject to partition selection based on top-down order due to matching patterns, or does the match of 10XX win the search because of it's consecutive number matches in the first two digits (similar to IP route selection) despite the fact that they have an equal number of variables?
Again I may be fried, let me know if that's not clear, I'm just too brain dead to google-fu this right now, and hopefully someone else will stumble upon this one day and will also be enlightened.
Thanks for any clarification!
EDIT:
Edited the CSS / Partition naming scheme for above example to match for clarity sake
Comments
CUCM SRND 9x/10, UCCX SRND 10x, QOS SRND, SIP Trunking Guide, anything contact center related
-Partition_C
--1XX1
Then Partition A still wins because they are all even matches, so it selects the top partition in the list with the matching patterns? And the fact that 10XX begins with two digits has no extra pull in the longest match search, because they all contain two variables and are therefore all completely even matches?
Just want to really solidify and confirm that 100% before I revise my notes to reflect that, I think the haze of studying got the best of me towards the end of that video.
Thanks again for any responses!;
Usually you don't want overlapping patterns in your dial plan even if they are in different partitions for an enterprise. This will just cause a pain for most of the users and you will have to have site codes and things of that nature.
Usually the only time you will have an overlapping dial plan is if you are using a call manager in a ISP environment where each customer can be broken out into there own different extensions cause the dial plan won't over lap with each company on your system.
CUCM SRND 9x/10, UCCX SRND 10x, QOS SRND, SIP Trunking Guide, anything contact center related
Did you ever find the answer to this?
My question was if you look at the follow CSS/Partition mapping:
CSS_Test_A
-Partition_A
--1X0X
-Partition_B
--10XX
-Partition_C
--1XX1
Which Partition would be used to forward a call to DN 1001?
I'm wondering if Partition B is the best match because it has two consecutive static numbers, or if they are all considered a longest match because they all include 2 variables digits for the DN (so the Partition A would then be used)?
If that exact question were on an exam, what would be the correct answer, is what I was looking for
Thanks again!
The one thing that almost all brick and mortar fairly large businesses have are lobby phones and no receptionists. Creating a partition and CSS for lobby phones that only can call one department is fairly routine.
I don't think CUCM implements the longest match algorithm. Besides, in the real world, I still have not encountered a case where patterns are like 1X0X.
longest match is still a consideration in CUCM dial-plan configuration, its just what partition that route pattern sits in and who has the right CSS to call that pattern.
The order or partitions within a CSS matter, like most things with Cisco. So the first partition will be searched first - if there is a match then the call processing engine will stop searching and pass the digits on through that matched route pattern - regardless if there is a more specific route pattern in the next partition or 5 down the list. It is an ordered process and you must consider this order when designing your calling privileges within the enterprise.