Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

.% destination pattern in POTS dial peer

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
Silver

Re: .% destination pattern in POTS dial peer

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

New Member

Re: .% destination pattern in POTS dial peer

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

Leigh

284
Views
4
Helpful
2
Replies