cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
524
Views
4
Helpful
2
Replies

.% destination pattern in POTS dial peer

lbichard
Level 1
Level 1

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

Thanks

Leigh

2 Replies 2

lfulgenzi
Level 7
Level 7

According to documentation:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/vvfax_c/int_c/dpeer_c/dp_confg.htm

"." 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

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

Leigh

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: