I am executing the command show dialplan number 912**2****** on my CUBE to find out which dial peer this pattern would match. The problem is that I had to hard-code the two number 2's instead of being able to use wild cards or regular expressions. My tested pattern matched two dial-peers on pattern 91[2-9]..[2-9]...... Those are the correct dial-peers/patterns that I want to match, but I do not want to have to hard-code a number instead of an expression in brackets. What is the proper syntax for achieving this? when I tried: show dialplan number 912**[2-9]****** , I was not able to decipher the error message of:
Incorrect format for E.164 Number
regular expression must be of the form ^((\+)?([0-9,#*A-F])+)$
While this is a very good document, it does not quite help for my purposes. I am working with the show dialplan number command to figure out which dial-peers a particular pattern will match. The fact that it must be a pattern and not an explicit number is essential. I see that some wilcards/expressions can be used with the show dialplan number command, but I cannot figure out which wildcards/expressions I can use for something like [2-9].