I have a quick question that really bugs me.
If I have 2 (overlapping) patterns that are different length why does CUCME chooses the first match, even with priority. Here is an example.
dial-peer voice 200 voip
description CUCM
destination-pattern 1...
session target ipv4:192.168.1.235
dial-peer voice 100 pots
description CCUM
destination-pattern 1.........
port 0/2/0
forward-digits all
Based on the reading and videos, I see that longest match should win, for example if I dial 1005 dial peer 200 should be chosen, but if I dial 16767894444 shouldn’t dial peer 100 gets chosen ? The issue is that 200 is always chosen no meter what number is dialed that starts with "1", and only first 4 digits are passed even if the pattern is 11 digits long.
I`m a bit confused about this behavior, also if priority command is added and dial peer 100 has better priority dial peer 200 is still chosen when dialing a number starting with"1".
Where and what am I missing ?