[Freeswitch-users] Help with cidlookup

Torstein Knutsen torstein.knutsen at gmail.com
Wed Jul 11 22:38:45 MSD 2012


Hi

I have cidlookup partly working.
Im using a norwegian service, which returns a whole lot more than just the
number.

Anybody here have some Ideas on how I could proceed to map "Pizza & Kina
Expressen" to the calling_id_name ?

Thank you!
Torstein

snipplet ***
:

 freeswitch at --hidden-ip--@internal> cidlookup 22222222




{ "title" : "Gule Sider firma API", "query" : "
http://api.eniro.com/cs/search/basic?country=no&search_word=22222222&to_list=1&version=1.1.3&from_list=1",
"totalHits" : 1 , "totalCount" : 1 , "startIndex" : 1, "itemsPerPage" : 1,
"adverts" : [ { "eniroId" : "P10000836357" , "companyInfo" : {
"companyName" : "Pizza & Kina Expressen" , "orgNumber" : null ,
"companyText" : null }, "address" : { "streetName" : "Vitaminveien 11 B" ,
"postCode" : "0485" , "postArea" : "Oslo" , "postBox" : null }, "location"
: { "coordinates" : [ { "longitude" : 10.7725744944096 , "latitude" :
59.9471107465998 }, { "use" : "route", "longitude" : 10.7725744944096 ,
"latitude" : 59.9471107465998 } ] }, "phoneNumbers" : [ { "type" : "std" ,
"phoneNumber" : "22 22 22 22" , "label" : null } ], "companyReviews" : "
http://www.anbefalt.no/omtale/0003292695/22222222" , "homepage" : "
http://api.eniro.com/proxy/homepage/uANwPf5aVK3QsMrfdwYjz8Olp1PSJ6L1-mCsL3_LC0d9Yem9mkC025y22P034JmT"
, "infoPageLink" : "
http://www.gulesider.no/firma/pizza-kina-expressen:p10000836357?search_word=22222222"
} ] }
freeswitch at --hidden-ip--@internal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120711/5adcf179/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list