It does so because it matches the single digit as you say, but then there is no regex such as a $ to prevent it from matching more digits.
If you knew that you only wanted to match, say 10 inbound DNIS digits, then you could be more specific with something such as incoming called-number ^..........$
Mark Snow
CCIE #14073 (Voice, Security)
On May 29, 2013, at 12:41 PM, Joe Astorino <joeastorino1982_at_gmail.com> wrote:
> Hi,
>
> I'm just starting to learn about some voice stuff and see configurations
> similar to this:
>
> dial-peer voice 1 pots
> incoming called-number .
> direct-inward-dial
>
> From what I gather the "incoming called-number ." matches ANY inbound
> called number. What I"m confused on is how that works. I was under the
> impression that the period (.) wildcard matches on any SINGLE digit. To
> match any number string I would have expected something like incoming
> called-number .* or perhaps .T.
>
> If period only matches a single digit, how does that match against ANY
> called number?
>
> Thanks!
>
> --
> Regards,
>
> Joe Astorino
> CCIE #24347
> http://astorinonetworks.com
>
> "He not busy being born is busy dying" - Dylan
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Fri May 31 2013 - 09:23:43 ART
This archive was generated by hypermail 2.2.0 : Mon Jun 03 2013 - 06:34:34 ART