<html><head></head><body bgcolor="#FFFFFF"><div>Where'd you grab the macro output from? In pre-5.0 you could go to the directory and grab the file. How bout now?<br><br>Sent from my iPhone</div><div><br>On Oct 26, 2011, at 6:16 PM, "Adam Frankel (afrankel)" <<a href="mailto:afrankel@cisco.com">afrankel@cisco.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  
    <div style="font-family:Arial;font-size:13px;">Looks like this
      pattern is part of the NANP.<br>
      <br>
      # 011+5[1-8]+NN<br>
      P: 01                  INTERNATIONAL-ACCESS<br>
      P: 1                   INTERNATIONAL-DIRECT-DIAL<br>
      P: 5[1-8]              COUNTRY-CODE<br>
      P: !                   NATIONAL-NUMBER
      <div style="display:inline"> </div>
      <br>
      <br>
      Matches "011521231234567
      <div style="display:inline">"  but is more specific.<br>
        <br>
        HTH.<br>
      </div>
      <br>
      <pre class="moz-signature" cols="72">Adam </pre>
      <br>
      <span style="color:#000000;" class="headerSpan"><br>
        <hr tabindex="0"><font style="font-size:x-small" face="Tahoma"><!--@A@--><b>From:</b>
          Mike Thompson <a class="moz-txt-link-rfc2396E" href="mailto:mthompson729@gmail.com"><mthompson729@gmail.com></a><!--@A@--><br>
          <!--@D@--><b>Sent:</b> Wed, Oct 26, 2011 6:04:32 PM<!--@D@--><br>
          <!--@R@--><b>To:</b> Lelio Fulgenzi <a class="moz-txt-link-rfc2396E" href="mailto:lelio@uoguelph.ca"><lelio@uoguelph.ca></a><!--@R@--><br>
          <!--@C@--><b>CC:</b> <a class="moz-txt-link-rfc2396E" href="mailto:cisco-voip@puck.nether.net">"cisco-voip@puck.nether.net"</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:cisco-voip@puck.nether.net"><cisco-voip@puck.nether.net></a><!--@C@--><br>
          <!--@S@--><b>Subject:</b> Re: [cisco-voip] Best match?????<!--@S@--><br>
        </font><br>
        <div>It shouldn't even be viable.  The @ represents NPA NXX
          format for NANP calls where N = a number 2-9</div>
        <div><br>
          Sent from my phone, apologies for any typos.</div>
        <div><br>
          On Oct 26, 2011, at 5:06 PM, Lelio Fulgenzi <<a moz-do-not-send="true" href="mailto:lelio@uoguelph.ca">lelio@uoguelph.ca</a>>
          wrote:<br>
          <br>
        </div>
      </span>
      <blockquote style="border: medium none ! important; padding-left:
        0px ! important; padding-right: 0px ! important; margin-left:
        0px ! important; margin-right: 0px ! important; font-family:
        serif;" type="cite">
        <div>
          <div style="font-family: Verdana; font-size: 10pt; color:
            #000000">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.<span><br>
              <br>
              <span name="x"></span>---<br>
              Lelio Fulgenzi, B.A.<br>
              Senior Analyst (CCS) * University of Guelph * Guelph,
              Ontario N1G 2W1<br>
              (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
              Cooking with unix is easy. You just sed it and forget it.
              <br>
                                            - LFJ (with apologies to Mr.
              Popeil)<br>
              <span name="x"></span><br>
            </span><br>
            <hr id="zwchr"><b>From: </b>"Scott Voll" <<a moz-do-not-send="true" href="mailto:svoll.voip@gmail.com">svoll.voip@gmail.com</a>><br>
            <b>To: </b>"Lelio Fulgenzi" <<a moz-do-not-send="true" href="mailto:lelio@uoguelph.ca">lelio@uoguelph.ca</a>><br>
            <b>Cc: </b>"Wes Sisk" <<a moz-do-not-send="true" href="mailto:wsisk@cisco.com">wsisk@cisco.com</a>>, <a moz-do-not-send="true" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
            <b>Sent: </b>Wednesday, October 26, 2011 4:54:57 PM<br>
            <b>Subject: </b>Re: [cisco-voip] Best match?????<br>
            <br>
            Correct.... that's why I'm scratching my head....
            <div><br>
            </div>
            <div>Scott<br>
              <br>
              <div class="gmail_quote">On Wed, Oct 26, 2011 at 1:24 PM,
                Lelio Fulgenzi <span dir="ltr"><<a moz-do-not-send="true" href="mailto:lelio@uoguelph.ca" target="_blank">lelio@uoguelph.ca</a>></span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin: 0pt 0pt
                  0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
                  padding-left: 1ex;">
                  <div>
                    <div style="font-family: Verdana; font-size: 10pt;
                      color: rgb(0, 0, 0);">But Scott said it matches
                      the @ based route pattern first, not the ! based
                      route pattern.<br>
                      <br>
                      From what I read in your response, you're saying
                      it should match the ! based route pattern?<br>
                      <span><br>
                        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.<br>
                        <br>
                        <span></span><br>
                      </span><br>
                      <hr><b>From: </b>"Wes Sisk" <<a moz-do-not-send="true" href="mailto:wsisk@cisco.com" target="_blank">wsisk@cisco.com</a>><br>
                      <b>To: </b>"Scott Voll" <<a moz-do-not-send="true" href="mailto:svoll.voip@gmail.com" target="_blank">svoll.voip@gmail.com</a>><br>
                      <b>Cc: </b><a moz-do-not-send="true" href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
                      <b>Sent: </b>Wednesday, October 26, 2011 4:12:08
                      PM<br>
                      <b>Subject: </b>Re: [cisco-voip] Best match?????
                      <div>
                        <div class="h5"><br>
                          <br>
                          @ is not a "pattern". It is a "macro" that
                          expands out to many patterns.<br>
                          <br>
                          9.011! with the supplied number of digits is a
                          'closer match' than the international pattern
                          added by the 9.@ macro.<br>
                          <br>
                          /Wes<br>
                          <br>
                          On Oct 26, 2011, at 3:51 PM, Scott Voll wrote:<br>
                          <br>
                          I have a CSS Lets call unresticted.<br>
                          <br>
                          inside unrestricted I have two partitions,
                          lets call US and International.<br>
                          <br>
                          inside US I have a 9.@ route<br>
                          <br>
                          and inside International I have a 9.011!<br>
                          <br>
                          The CSS list International first.<br>
                          <br>
                          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?<br>
                          <br>
                          Thanks<br>
                          <br>
                          Scott<br>
_______________________________________________<br>
                          cisco-voip mailing list<br>
                          <a moz-do-not-send="true" href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
                          <a moz-do-not-send="true" href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
                          <br>
                          <br>
_______________________________________________<br>
                          cisco-voip mailing list<br>
                          <a moz-do-not-send="true" href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
                          <a moz-do-not-send="true" href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </div>
      </blockquote>
      <blockquote style="border:none !important; padding-left:0px
        !important; padding-right:0px !important; margin-left:0px
        !important; margin-right:0px !important" type="cite">
        <div><span>_______________________________________________</span><br>
          <span>cisco-voip mailing list</span><br>
          <span><a moz-do-not-send="true" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a></span><br>
          <span><a moz-do-not-send="true" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
cisco-voip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</pre>
      <br>
    </div>
  

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>cisco-voip mailing list</span><br><span><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a></span><br><span><a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><br></div></blockquote></body></html>