[cisco-voip] dial-peer destination-pattern with **

Nick Matthews matthnick at gmail.com
Wed Jan 16 21:29:25 EST 2013


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.

This would be an alternative: [*][*]47..

Though since [*] isn't a literal it will send all 6 numbers, so use
forward-digits as necessary.

-nick


On Wed, Jan 16, 2013 at 6:50 PM, Norton, Mike <mikenorton at pwsd76.ab.ca>wrote:

>  What am I doing wrong here?****
>
> ** **
>
> (config)#dial-peer voice 701 pots****
>
> (config-dial-peer)#destination-pattern **47..****
>
> ** **
>
> It gives me this error:****
>
> ** **
>
> % nested *?+Incorrect format for ^((\*)?*47..)$****
>
> ** **
>
> 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.****
>
> ** **
>
> -- ****
>
> Mike Norton****
>
> I.T. Specialist****
>
> Peace Wapiti School Division No. 76****
>
> Helpdesk: 780-831-3080****
>
> Direct: 780-831-3076****
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20130116/f12a1d3d/attachment.html>


More information about the cisco-voip mailing list