<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-2"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 03/03/2011 03:53 PM, Danny Nicholas wrote:
    <blockquote
      cite="mid:201103032053.p23KruXC004742@debsweb.debsinc.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-2">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="country-region">
        <o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="City">
          <o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="place">
            <o:smarttagtype
              namespaceuri="urn:schemas-microsoft-com:office:smarttags"
              name="PersonName">
              <!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
              <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
              <div class="Section1">
                <p class="MsoNormal"><font size="2" color="navy"
                    face="Arial"><span style="font-size: 10pt;
                      font-family: Arial; color: navy;">Not having an
                      in-depth knowledge of how EU
                      numbering works, I would still suggest that you
                      could get pretty far with the
                      numberingplans AGI if you made a database that
                      blocked out the number once it
                      came up as a cell.  In the U.S. cell phones have
                      their own &#8220;local&#8221;
                      code, IE 205616XXXX is going to be a cell so you
                      can eliminate 205-616-0000
                      thru 205-616-9999.</span></font></p>
              </div>
            </o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    <br>
    <br>
    with number portability in north america, even knowing the npa npx
    doesn't really help you, you can port a landline to a cell or vice
    versa, you can tell what carrier/media the number was originally
    allocated from but if it was ever ported that information is
    meaningless.<br>
    <br>
    Granted not a lot of people port numbers since you still have to
    argue to get it done around here (in Canada) but its been the law
    for several years if its still a local exchange the porting costs
    $30 and they have to do it if you ask.<br>
    <br>
    <br>
    <br>
    <blockquote
      cite="mid:201103032053.p23KruXC004742@debsweb.debsinc.com"
      type="cite"><o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="country-region"><o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="City"><o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="place"><o:smarttagtype
              namespaceuri="urn:schemas-microsoft-com:office:smarttags"
              name="PersonName">
              <div class="Section1">
                <p class="MsoNormal"><font size="2" color="navy"
                    face="Arial"><span style="font-size: 10pt;
                      font-family: Arial; color: navy;"><o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="navy"
                    face="Arial"><span style="font-size: 10pt;
                      font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
                <div>
                  <div class="MsoNormal" style="text-align: center;"
                    align="center"><font size="3" face="Times New Roman"><span
                        style="font-size: 12pt;">
                        <hr tabindex="-1" size="2" width="100%"
                          align="center">
                      </span></font></div>
                  <p class="MsoNormal"><b><font size="2" face="Tahoma"><span
                          style="font-size: 10pt; font-family: Tahoma;
                          font-weight: bold;">From:</span></font></b><font
                      size="2" face="Tahoma"><span style="font-size:
                        10pt; font-family: Tahoma;">
                        <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
                        [<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>]
                        <b><span style="font-weight: bold;">On Behalf Of
                          </span></b>Piotr Górski<br>
                        <b><span style="font-weight: bold;">Sent:</span></b>
                        Thursday, March 03, 2011
                        2:34 PM<br>
                        <b><span style="font-weight: bold;">To:</span></b>
                        <st1:personname w:st="on">Asterisk Users Mailing
                          List - Non-Commercial Discussion</st1:personname><br>
                        <b><span style="font-weight: bold;">Subject:</span></b>
                        Re: [asterisk-users]
                        Testing from where number is...</span></font><o:p></o:p></p>
                </div>
                <p class="MsoNormal"><font size="3" face="Times New
                    Roman"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
                <p class="MsoNormal"><font size="3" face="Times New
                    Roman"><span style="font-size: 12pt;">As free I mean
                      no subscription. I can write AGI that will query <a
                        moz-do-not-send="true"
                        href="http://numberingplans.com">numberingplans.com</a>
                      - that's not a
                      problem... but I can query site only 20 times a
                      day without a subscription...
                      So it's not free.<o:p></o:p></span></font></p>
                <div>
                  <p class="MsoNormal"><font size="3" face="Times New
                      Roman"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-bottom: 12pt;"><font
                      size="3" face="Times New Roman"><span
                        style="font-size: 12pt;"><br clear="all">
                        Z poważaniem,<br>
                        Piotr Górski,<br>
                        CONCEPT MUSIC ART SP. Z O.O.<br>
                        ul.Dauna 70<br>
                        30-629 Kraków<br>
                        <a moz-do-not-send="true"
                          href="http://www.cma.pl" target="_blank">http://www.cma.pl</a><br>
                        <a moz-do-not-send="true"
                          href="mailto:piotr@prnet.pl" target="_blank">piotr@prnet.pl</a><br>
                        GSM: +48 609 127 370<br>
                        Faks: +48 12 444 1051<br>
                        <br>
                        <o:p></o:p></span></font></p>
                  <div>
                    <p class="MsoNormal"><font size="3" face="Times New
                        Roman"><span style="font-size: 12pt;">2011/3/3
                          Danny Nicholas &lt;<a moz-do-not-send="true"
                            href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;<o:p></o:p></span></font></p>
                    <div link="blue" vlink="blue">
                      <div>
                        <p class="MsoNormal" style=""><font size="2"
                            color="navy" face="Arial"><span
                              style="font-size: 10pt; font-family:
                              Arial; color: navy;">To &#8220;beat the dead
                              horse&#8221;, if you want it
                              &#8220;free&#8221;, write an AGI&#8230;</span></font><o:p></o:p></p>
                        <p class="MsoNormal" style=""><font size="2"
                            color="navy" face="Arial"><span
                              style="font-size: 10pt; font-family:
                              Arial; color: navy;"> </span></font><o:p></o:p></p>
                        <div>
                          <div class="MsoNormal" style="text-align:
                            center;" align="center"><font size="3"
                              face="Times New Roman"><span
                                style="font-size: 12pt;">
                                <hr size="2" width="100%" align="center">
                              </span></font></div>
                          <p class="MsoNormal" style=""><b><font
                                size="2" face="Tahoma"><span
                                  style="font-size: 10pt; font-family:
                                  Tahoma; font-weight: bold;">From:</span></font></b><font
                              size="2" face="Tahoma"><span
                                style="font-size: 10pt; font-family:
                                Tahoma;"> <a moz-do-not-send="true"
                                  href="mailto:asterisk-users-bounces@lists.digium.com"
                                  target="_blank">asterisk-users-bounces@lists.digium.com</a>
                                [mailto:<a moz-do-not-send="true"
                                  href="mailto:asterisk-users-bounces@lists.digium.com"
                                  target="_blank">asterisk-users-bounces@lists.digium.com</a>]
                                <b><span style="font-weight: bold;">On
                                    Behalf Of </span></b>Piotr Górski<br>
                                <b><span style="font-weight: bold;">Sent:</span></b>
                                Thursday, March 03, 2011
                                1:58 PM<br>
                                <b><span style="font-weight: bold;">To:</span></b>
                                <st1:personname w:st="on">Asterisk Users
                                  Mailing List - Non-Commercial
                                  Discussion</st1:personname><br>
                                <b><span style="font-weight: bold;">Subject:</span></b>
                                Re: [asterisk-users]
                                Testing from where number is...</span></font><o:p></o:p></p>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal" style=""><font size="3"
                                face="Times New Roman"><span
                                  style="font-size: 12pt;"> <o:p></o:p></span></font></p>
                            <p class="MsoNormal" style=""><font size="3"
                                face="Times New Roman"><span
                                  style="font-size: 12pt;">Something
                                  free?<o:p></o:p></span></font></p>
                            <div>
                              <p class="MsoNormal" style=""><font
                                  size="3" face="Times New Roman"><span
                                    style="font-size: 12pt;"> <o:p></o:p></span></font></p>
                            </div>
                            <div>
                              <p class="MsoNormal" style=""><font
                                  size="3" face="Times New Roman"><span
                                    style="font-size: 12pt;">-- <o:p></o:p></span></font></p>
                            </div>
                            <div>
                              <p class="MsoNormal" style="margin-bottom:
                                12pt;"><font size="3" face="Times New
                                  Roman"><span style="font-size: 12pt;">Piotrek
                                    Gorski<o:p></o:p></span></font></p>
                              <div>
                                <p class="MsoNormal" style=""><font
                                    size="3" face="Times New Roman"><span
                                      style="font-size: 12pt;">2011/3/3
                                      Faisal
                                      Hanif &lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:faisal@vopium.com"
                                        target="_blank">faisal@vopium.com</a>&gt;<o:p></o:p></span></font></p>
                                <p class="MsoNormal" style=""><font
                                    size="3" face="Times New Roman"><span
                                      style="font-size: 12pt;"><a
                                        moz-do-not-send="true"
                                        href="http://www.numberingplans.com"
                                        target="_blank">www.numberingplans.com</a><o:p></o:p></span></font></p>
                                <div>
                                  <div>
                                    <p class="MsoNormal"
                                      style="margin-bottom: 12pt;"><font
                                        size="3" face="Times New Roman"><span
                                          style="font-size: 12pt;"><br>
                                          <br>
                                          <br>
                                          -----Original Message-----<br>
                                          From: <a
                                            moz-do-not-send="true"
                                            href="mailto:asterisk-users-bounces@lists.digium.com"
                                            target="_blank">asterisk-users-bounces@lists.digium.com</a><br>
                                          [mailto:<a
                                            moz-do-not-send="true"
                                            href="mailto:asterisk-users-bounces@lists.digium.com"
                                            target="_blank">asterisk-users-bounces@lists.digium.com</a>]
                                          On Behalf Of Piotr Górski<br>
                                          Sent: Thursday, March 03, 2011
                                          12:02 PM<br>
                                          To: <a moz-do-not-send="true"
href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
                                          Subject: [asterisk-users]
                                          Testing from where number
                                          is...<br>
                                          <br>
                                          Hi!<br>
                                          <br>
                                          My customer want's to allow
                                          calls to landlines in EU and
                                          US and disallow<br>
                                          calls to cells in EU. Rest of
                                          countries are blocked.<br>
                                          <br>
                                          Country blocking is easy... Is
                                          there a service that allows
                                          checking phone<br>
                                          number? Maybe some specific
                                          Enum? I ask for number and
                                          server responds with<br>
                                          info, for example: "<st1:city
                                            w:st="on">Cell Phone</st1:city>,
                                          <st1:country-region w:st="on">Belgium</st1:country-region>"
                                          or "Land <st1:place w:st="on"><st1:city
                                              w:st="on">Line</st1:city>,
                                            <st1:country-region
                                              w:st="on">Germany</st1:country-region></st1:place>".<br>
                                          <br>
                                          --<br>
                                          Piotr Gorski<o:p></o:p></span></font></p>
                                  </div>
                                </div>
                                <p class="MsoNormal" style=""><font
                                    size="3" face="Times New Roman"><span
                                      style="font-size: 12pt;">--<br>
_____________________________________________________________________<br>
                                      -- Bandwidth and Colocation
                                      Provided by <a
                                        moz-do-not-send="true"
                                        href="http://www.api-digital.com"
                                        target="_blank">http://www.api-digital.com</a>
                                      -- New to<br>
                                      Asterisk? Join us for a live
                                      introductory webinar every Thurs:<br>
                                                    <a
                                        moz-do-not-send="true"
                                        href="http://www.asterisk.org/hello"
                                        target="_blank">http://www.asterisk.org/hello</a><br>
                                      <br>
                                      asterisk-users mailing list<br>
                                      To UNSUBSCRIBE or update options
                                      visit:<br>
                                        <a moz-do-not-send="true"
                                        href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                                        target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
                                      <br>
                                      <br>
                                      --<br>
_____________________________________________________________________<br>
                                      -- Bandwidth and Colocation
                                      Provided by <a
                                        moz-do-not-send="true"
                                        href="http://www.api-digital.com"
                                        target="_blank">http://www.api-digital.com</a>
                                      --<br>
                                      New to Asterisk? Join us for a
                                      live introductory webinar every
                                      Thurs:<br>
                                                    <a
                                        moz-do-not-send="true"
                                        href="http://www.asterisk.org/hello"
                                        target="_blank">http://www.asterisk.org/hello</a><br>
                                      <br>
                                      asterisk-users mailing list<br>
                                      To UNSUBSCRIBE or update options
                                      visit:<br>
                                        <a moz-do-not-send="true"
                                        href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                                        target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>
                              </div>
                              <p class="MsoNormal" style=""><font
                                  size="3" face="Times New Roman"><span
                                    style="font-size: 12pt;"> <o:p></o:p></span></font></p>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <p class="MsoNormal"><font size="3" face="Times New
                        Roman"><span style="font-size: 12pt;"><br>
                          --<br>
_____________________________________________________________________<br>
                          -- Bandwidth and Colocation Provided by <a
                            moz-do-not-send="true"
                            href="http://www.api-digital.com"
                            target="_blank">http://www.api-digital.com</a>
                          --<br>
                          New to Asterisk? Join us for a live
                          introductory webinar every Thurs:<br>
                                        <a moz-do-not-send="true"
                            href="http://www.asterisk.org/hello"
                            target="_blank">http://www.asterisk.org/hello</a><br>
                          <br>
                          asterisk-users mailing list<br>
                          To UNSUBSCRIBE or update options visit:<br>
                            <a moz-do-not-send="true"
                            href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                            target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>
                  </div>
                  <p class="MsoNormal"><font size="3" face="Times New
                      Roman"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
                </div>
              </div>
              <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
            </o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    <br>
  </body>
</html>