[cisco-voip] Best match?????

Adam Frankel (afrankel) afrankel at cisco.com
Wed Oct 26 18:15:38 EDT 2011


Looks like this pattern is part of the NANP.

# 011+5[1-8]+NN
P: 01                  INTERNATIONAL-ACCESS
P: 1                   INTERNATIONAL-DIRECT-DIAL
P: 5[1-8]              COUNTRY-CODE
P: !                   NATIONAL-NUMBER


Matches "011521231234567
"  but is more specific.

HTH.

Adam



------------------------------------------------------------------------
*From:* Mike Thompson <mthompson729 at gmail.com>
*Sent:* Wed, Oct 26, 2011 6:04:32 PM
*To:* Lelio Fulgenzi <lelio at uoguelph.ca>
*CC:* "cisco-voip at puck.nether.net" <cisco-voip at puck.nether.net>
*Subject:* Re: [cisco-voip] Best match?????

It shouldn't even be viable.  The @ represents NPA NXX format for NANP 
calls where N = a number 2-9

Sent from my phone, apologies for any typos.

On Oct 26, 2011, at 5:06 PM, Lelio Fulgenzi <lelio at uoguelph.ca 
<mailto:lelio at uoguelph.ca>> wrote:

> My guess is because there are no country codes that start with 1 (just 
> googled), the @ macro reduces the number of possible matches by at 
> least two if not three digits, i.e. 1X or 1XX that the ! marker would 
> give.
>
> ---
> Lelio Fulgenzi, B.A.
> Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
> (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Cooking with unix is easy. You just sed it and forget it.
>                               - LFJ (with apologies to Mr. Popeil)
>
>
> ------------------------------------------------------------------------
> *From: *"Scott Voll" <svoll.voip at gmail.com <mailto:svoll.voip at gmail.com>>
> *To: *"Lelio Fulgenzi" <lelio at uoguelph.ca <mailto:lelio at uoguelph.ca>>
> *Cc: *"Wes Sisk" <wsisk at cisco.com <mailto:wsisk at cisco.com>>, 
> cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
> *Sent: *Wednesday, October 26, 2011 4:54:57 PM
> *Subject: *Re: [cisco-voip] Best match?????
>
> Correct.... that's why I'm scratching my head....
>
> Scott
>
> On Wed, Oct 26, 2011 at 1:24 PM, Lelio Fulgenzi <lelio at uoguelph.ca 
> <mailto:lelio at uoguelph.ca>> wrote:
>
>     But Scott said it matches the @ based route pattern first, not the
>     ! based route pattern.
>
>     From what I read in your response, you're saying it should match
>     the ! based route pattern?
>
>     I agree that it has something to do with the macro and how it
>     expands only possible values, so, let's say area codes that only
>     begin with 2-9, not 0-9. it must create a smaller number of
>     international patterns, i.e. only country codes that are valid.
>
>
>
>     ------------------------------------------------------------------------
>     *From: *"Wes Sisk" <wsisk at cisco.com <mailto:wsisk at cisco.com>>
>     *To: *"Scott Voll" <svoll.voip at gmail.com
>     <mailto:svoll.voip at gmail.com>>
>     *Cc: *cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
>     *Sent: *Wednesday, October 26, 2011 4:12:08 PM
>     *Subject: *Re: [cisco-voip] Best match?????
>
>
>     @ is not a "pattern". It is a "macro" that expands out to many
>     patterns.
>
>     9.011! with the supplied number of digits is a 'closer match' than
>     the international pattern added by the 9.@ macro.
>
>     /Wes
>
>     On Oct 26, 2011, at 3:51 PM, Scott Voll wrote:
>
>     I have a CSS Lets call unresticted.
>
>     inside unrestricted I have two partitions, lets call US and
>     International.
>
>     inside US I have a 9.@ route
>
>     and inside International I have a 9.011!
>
>     The CSS list International first.
>
>     What does a number such as 9011 52 123 1234567 not match the
>     international but rather the US 9.@?  wouldn't 9.011! be a better
>     match?
>
>     Thanks
>
>     Scott
>     _______________________________________________
>     cisco-voip mailing list
>     cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
>     https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
>     _______________________________________________
>     cisco-voip mailing list
>     cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
>     https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net <mailto:cisco-voip at puck.nether.net>
> https://puck.nether.net/mailman/listinfo/cisco-voip


_______________________________________________
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/20111026/b9435766/attachment.html>


More information about the cisco-voip mailing list