.% destination pattern in POTS dial peer

Unanswered Question
May 2nd, 2007

Anyone come across .% as a match all as a destination pattern in a dial peer? Any links to documentation would be good.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
lfulgenzi Wed, 05/02/2007 - 04:45

According to documentation:


"." Indicates a single-digit placeholder. For example, 555.... matches any dialed string beginning with 555, plus at least four additional digits.

"%" Indicates that the preceding digit occurred zero or more times. This functions the same as the "*" used in regular expression.

Some examples of how these wildcard symbols are applied to the destination pattern and the dial string that results when dial string 4085551234 is matched to an outbound POTS dial peer. The wildcard symbols follow regular expression rules.

"408555.%" 408555, followed by zero or more wildcard digits. This pattern implies that the string must contain at least 408555.

String after stripping = 1234

"40855[5-7].%" 40855, followed by 5, 6, or 7, plus any digit repeated one or more times.

String after stripping = 51234

lbichard Wed, 05/02/2007 - 10:09

Thanks for the link. Further investigation shows that it matches all digits immediately - without delay.



This Discussion