]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5018 --resolve
authorBrian West <brian@freeswitch.org>
Mon, 14 Jan 2013 14:20:08 +0000 (08:20 -0600)
committerBrian West <brian@freeswitch.org>
Mon, 14 Jan 2013 14:20:08 +0000 (08:20 -0600)
src/mod/applications/mod_cidlookup/conf/autoload_configs/cidlookup.conf.xml

index a30f9f5c105d5615ad8a23128d67f97c8ea19cdd..40cb7b94103b53436eb7b47bac46fcb615a2e413 100644 (file)
@@ -1,14 +1,15 @@
 <configuration name="cidlookup.conf" description="cidlookup Configuration">
   <settings>
     <!-- comment out url to not setup a url based lookup -->
-    <param name="url" value="http://query.voipcnam.com/query.php?api_key=MYAPIKEY&number=${caller_id_number}"/>
+    <param name="url" value="https://api.opencnam.com/v2/phone/${caller_id_number}?format=pbx"/>
+    <!--<param name="url" value="https://api.opencnam.com/v2/phone/${caller_id_number}?format=pbx&account_sid=MYACCOUNTSID&auth_token=MYAUTHTOKEN"/>-->
 
     <!-- comment out whitepages-apikey to not use whitepages.com, you must
          get an API key from http://developer.whitepages.com/ -->
     <param name="whitepages-apikey" value="MYAPIKEY"/>
 
-    <!-- set to false to not cache (in memcache) results from the url query -->
-    <param name="cache" value="true"/>
+    <!-- set to true to cache (in memcache) results from the url query -->
+    <param name="cache" value="false"/>
     <!-- expire is in seconds -->
     <param name="cache-expire" value="86400"/>