<div dir="ltr"><div><div>Looks like it doesn't parse correctly. Even though I haven't seen * used as 0 or more in a destination-pattern, and I don't think it works as an operator, it appears IOS's parser pretends it is.<br>
<br>This would be an alternative: [*][*]47..<br><br></div>Though since [*] isn't a literal it will send all 6 numbers, so use forward-digits as necessary.<br><br></div>-nick<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">
On Wed, Jan 16, 2013 at 6:50 PM, Norton, Mike <span dir="ltr"><<a href="mailto:mikenorton@pwsd76.ab.ca" target="_blank">mikenorton@pwsd76.ab.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-CA">
<div>
<p class="MsoNormal">What am I doing wrong here?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">(config)#dial-peer voice 701 pots<u></u><u></u></p>
<p class="MsoNormal">(config-dial-peer)#destination-pattern **47..<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">It gives me this error:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">% nested *?+Incorrect format for ^((\*)?*47..)$<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Huh? I am trying to match two stars followed by 47 followed by two wildcard digits. (If I only do one star instead of two, it works fine.) This is on a 2901 with 15.1(3)T4.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">-- <u></u><u></u></p>
<p class="MsoNormal">Mike Norton<u></u><u></u></p>
<p class="MsoNormal">I.T. Specialist<u></u><u></u></p>
<p class="MsoNormal">Peace Wapiti School Division No. 76<u></u><u></u></p>
<p class="MsoNormal">Helpdesk: <a href="tel:780-831-3080" value="+17808313080" target="_blank">780-831-3080</a><u></u><u></u></p>
<p class="MsoNormal">Direct: <a href="tel:780-831-3076" value="+17808313076" target="_blank">780-831-3076</a><u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></div>