[Freeswitch-svn] [commit] r12994 - freeswitch/trunk/conf/autoload_configs

FreeSWITCH SVN rupa at freeswitch.org
Fri Apr 10 20:14:17 PDT 2009


Author: rupa
Date: Fri Apr 10 22:14:17 2009
New Revision: 12994

Log:
config file


Added:
   freeswitch/trunk/conf/autoload_configs/cidlookup.conf.xml

Added: freeswitch/trunk/conf/autoload_configs/cidlookup.conf.xml
==============================================================================
--- (empty file)
+++ freeswitch/trunk/conf/autoload_configs/cidlookup.conf.xml	Fri Apr 10 22:14:17 2009
@@ -0,0 +1,15 @@
+<configuration name="cidlookup.conf" description="cidlookup Configuration">
+  <settings>
+    <param name="url" value="http://query.voipcnam.com/query.php?api_key=MYAPIKEY&number=${caller_id_number}"/>
+    <param name="cache" value="true"/>
+    <param name="cache-expire" value="86400"/>
+
+    <param name="odbc-dsn" value="phone:phone:phone"/>
+    <param name="sql" value="
+SELECT name||' ('||type||')' AS name 
+  FROM phonebook p JOIN numbers n ON p.id = n.phonebook_id
+  WHERE n.number='${caller_id_number}' 
+  LIMIT 1
+    "/>
+  </settings>
+</configuration>



More information about the Freeswitch-svn mailing list