300-815 · Question #53
If all patterns below are configured in Cisco Unified Communications Manager which would be used when dialing the pattern "123"?
The correct answer is D. 1[2-5]. CUCM uses a 'best match' algorithm for dial plan pattern selection, where more specific patterns take precedence over less specific ones. Pattern specificity is ranked: explicit digits > character classes (e.g., [2-5]) > the X wildcard. Pattern '121' does not match '123' at all.
Question
Options
- A121
- B12X (urgent priority set)
- C1XX (urgent Priority Set)
- D1[2-5]
How the community answered
(48 responses)- A13% (6)
- B21% (10)
- C6% (3)
- D60% (29)
Explanation
CUCM uses a 'best match' algorithm for dial plan pattern selection, where more specific patterns take precedence over less specific ones. Pattern specificity is ranked: explicit digits > character classes (e.g., [2-5]) > the X wildcard. Pattern '121' does not match '123' at all. Patterns '12X' and '1XX' use the X wildcard (matches any single digit), but '1[2-5]' uses a character class which is more specific than X. A character class [2-5] narrows the match to only digits 2 through 5, making it more specific than the X wildcard that matches any digit (0-9). Therefore, '1[2-5]' wins the best-match competition. The 'Urgent Priority' flag on the other patterns only affects interdigit timeout behavior, not the best-match selection.
Topics
Community Discussion
No community discussion yet for this question.