Hello I'm trying to locate a document that explains what the hierarchy is for when a number is presented to CUCM? What is does it look for first and if that is not configured what does it look for next. Below is an example.
It all comes down to best match. If a device has access to matching patterns based on its CSS, and parition assigned to matching patterns CUCM will evaluate all the DNs/patterns and use best match. For example you have TP 22XX, and RP 2XXX the TP will be matched as it's more explicit. If you add a DN such as 2211 and someone dials 2111 all 3 would match, but the DN will be most explicit and call will be extended to it.