02-04-2008 02:07 PM - edited 03-15-2019 08:36 AM
If I have two route patterns like this:
[2-9]xx[2-9]xxxxxxx and 82!, and called party is 8204562345. which route pattern will match?
02-04-2008 02:57 PM
i'd say it would be [2-9]xx[2-9]xxxxxxx since by definition ! matches one or more digits in the range 0 through 9.
as per this doc
http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cucm/admin/5_0_4/ccmsys/a03rp.html#wp1090895
The route pattern 91! routes or blocks all numbers in the range 910 through 91999999999999999999999.
the other pattern has a limited amount of digits and thus can be considered as a best match
HTH
02-05-2008 07:43 AM
But I tested and it actually used 82!. I think because it matches 8 and 2 specifically in the 82!, which is the most closet match.
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