[Freeswitch-users] LRN/LNP lookups..

Avi Marcus avi at avimarcus.net
Sat Feb 26 20:57:22 MSK 2011


I think I provided a DB schema, and an adjustable timing for how long to
cache results.
I also have a regex to import results from grnvoip/excall, which shows the
LRN in the cdrs after the call, if someone is interested I can upload that..

-Avi

On Sat, Feb 26, 2011 at 7:48 PM, Steven Ayre <steveayre at gmail.com> wrote:

> If you often get repeated numbers you could also store them in an odbc
> database for a few days so that you don't have to pay for repeat lookups. If
> you're doing a lot of lookups that can save you a lot of money. Your routing
> won't be 100% accurate, but the lnp providers are probably serving you from
> a cache too anyway.
>
> Steve on iPhone
>
> On 26 Feb 2011, at 16:29, Avi Marcus <avi at avimarcus.net> wrote:
>
> Not afaik, but you can use callwithus's api for $0.0003 per query.
> I integrated it into my php xml_curl lcr script, which you can grab here:
> mod_xml-with-PHP <https://github.com/avimar/FreeSWITCH-mod_xml-with-PHP>
>
> <https://github.com/avimar/FreeSWITCH-mod_xml-with-PHP>-Avi Marcus
>
> On Fri, Feb 25, 2011 at 8:38 PM, Sergey Okhapkin <<sos at sokhapkin.dyndns.org>
> sos at sokhapkin.dyndns.org> wrote:
>
>> There is no free service, but LRN lookup price is a fraction of cent per
>> query, why not pay a few cents a day?
>>
>> On Friday 25 February 2011, egc52556 wrote:
>> > I appreciate there is no complete database of current LRN to download.
>>  But
>> > is there a free service where I can do a few lookups, say no more than
>> > 10-20 a day?
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>>  <FreeSWITCH-users at lists.freeswitch.org>
>> FreeSWITCH-users at lists.freeswitch.org
>>  <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>  <http://www.freeswitch.org>http://www.freeswitch.org
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110226/d8e5e254/attachment-0001.html 


More information about the FreeSWITCH-users mailing list