Yes you do have to pay.. <br>For North American destinations, the TRA (Traffic Routing Administation) maintains a database called LERG (Local Exchange Routing Guide). This has a lot more information than you really need, but in the very first and seventh of the database tables (they are numbered) you can match NPA/NXX/X with the OCN and carrier name.<br>
<br><br>For portability, you have to perform a database dip, which traditionally is a SS7 lookup to the LIDB database. You send a DID and they return a LRN (which looks like a DID. That DID then can be looked up in the LERG to determine the actual carrier and from an LCR perspective, it's send the DID to the LRN's route instead of the DID's route. Unless, of course, the LRN is your own LRN, then you route on the DID.<br>
<br>There are a number of providers out there that offer LNP dipping service. I've seen it both in SIP variants and XML variants. Typically the LIDB providers don't allow caching of this data. And for what it's worth, it's not a good idea to cache the data since it's dynamic. If you are thinking "wow, a dip for every call? that's alot", yes you are right. There is a ton of revenue in that.<br>
-Brett<br><br><br><div class="gmail_quote">On Wed, Feb 18, 2009 at 12:37 PM, Noel R. Morais <span dir="ltr"><<a href="mailto:noelrocha@gmail.com">noelrocha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Brett,<br>
<br>
I'm out of topic here.<br>
<br>
I'm curious about local number portability in US.<br>
<br>
How do I know what the provider of a number is? Do I have to pay to know that?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Noel<br>
</font><div><div></div><div class="Wj3C7c">On Wed, Feb 18, 2009 at 12:24 PM, Brett Nemeroff <<a href="mailto:brett@nemeroff.com">brett@nemeroff.com</a>> wrote:<br>
> So are you putting in full DIDs for the ported numbers?<br>
><br>
> In the US, the incumbant providers perform the LNP (Local Number<br>
> Portability) lookups and there are large national databases that store this<br>
> information. I've worked with a couple of independent LNP data providers to<br>
> route based on an XML query for LNP results.<br>
><br>
> Static LNP data loaded into a LCR table seems like it would give you<br>
> constant issues with customers moving around, canceling service, etc. In<br>
> general, if portability is implemented properly, you shouldn' thave to think<br>
> about it.<br>
><br>
><br>
> On Wed, Feb 18, 2009 at 9:09 AM, Noel R. Morais <<a href="mailto:noelrocha@gmail.com">noelrocha@gmail.com</a>> wrote:<br>
>><br>
>> I'm pretty sure.<br>
>><br>
>> I'm from Brazil and here we have number portability "feature".<br>
>><br>
>> Today we have 140 millions of cell phone numbers and 100 millions of<br>
>> landline numbers, so, 240 millions of numbers that can be ported to<br>
>> another provider.<br>
>><br>
>> if only 5% of the people decide to port their numbers, I will end with<br>
>> 12 millions of ported numbers and I need to have this route rules ...<br>
>> put on this bag the normal routing rules ...<br>
>><br>
>> So, it's insane, I think that there is no shortcut, any ideias? :D<br>
>><br>
>><br>
>> so, drouting seems to be The Guy .... I'll try it today and send the<br>
>> results ... :D<br>
>><br>
>> Cheers,<br>
>><br>
>> Noel<br>
>><br>
>> On Wed, Feb 18, 2009 at 12:05 PM, Bogdan-Andrei Iancu<br>
>> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>> wrote:<br>
>> > Hi Noel,<br>
>> ><br>
>> > As Brett already recommended, use the Drouting module as it is the only<br>
>> > one<br>
>> > able to cope with so large amount of data in an efficient way. See here<br>
>> > some<br>
>> > performance considerations:<br>
>> > <a href="http://www.opensips.org/html/docs/modules/devel/drouting.html#id227252" target="_blank">http://www.opensips.org/html/docs/modules/devel/drouting.html#id227252</a><br>
>> ><br>
>> ><br>
>> > Actually there was a guy on the IRC channel (#opensips) testing even<br>
>> > with 1M<br>
>> > of rules and the memory scaled linearly (less than 180M shared mem for<br>
>> > 1M<br>
>> > of rules)<br>
>> ><br>
>> > So, you may need something like 2G of mem for 10M rules :).<br>
>> ><br>
>> > Regards,<br>
>> > Bogdan<br>
>> ><br>
>> > Noel R. Morais wrote:<br>
>> >><br>
>> >> Hi Guys,<br>
>> >><br>
>> >> I need to build a proxy that should be able to handle millions of<br>
>> >> routes, something near 10 millions :D<br>
>> >><br>
>> >> What is the best module to use in this case? carrierroute or droute?<br>
>> >><br>
>> >> does anybody have experience in installations like that?<br>
>> >><br>
>> >> thanks,<br>
>> >><br>
>> >><br>
>> >> Noel<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Users mailing list<br>
>> >> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> >> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>> >><br>
>> >><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
</div></div></blockquote></div><br>