The solution is simple - don't use the pattern 2xx for your extensions - use a more specific pattern. For example, if your extensions are 221-238, you could change the pattern to 2[2-3]x. With this pattern, extensions 220-239 would be immediately dialed, but you could dial 10 digit numbers starting with 20, 21, 24-29 without any problems.