[Freeswitch-trunk] [commit] r6754 - freeswitch/trunk/conf/autoload_configs

Freeswitch SVN brian at freeswitch.org
Thu Dec 13 12:16:11 EST 2007


Author: brian
Date: Thu Dec 13 12:16:10 2007
New Revision: 6754

Modified:
   freeswitch/trunk/conf/autoload_configs/cdr_csv.conf.xml
   freeswitch/trunk/conf/autoload_configs/console.conf.xml

Log:
sql format for CDR.. send HUP to rotate.. then import into SQL

Modified: freeswitch/trunk/conf/autoload_configs/cdr_csv.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/cdr_csv.conf.xml	(original)
+++ freeswitch/trunk/conf/autoload_configs/cdr_csv.conf.xml	Thu Dec 13 12:16:10 2007
@@ -6,6 +6,7 @@
     <param name="rotate-on-hup" value="true"/>
   </settings>
   <templates>
+    <template name="sql">INSERT INTO cdr VALUES ("${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", "${accountcode}");</template>
     <template name="example">"${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", "${accountcode}"</template>
     <template name="asterisk">"${accountcode}","${caller_id_number}","${destination_number}","${context}","${caller_id}","${channel_name}","${bridge_channel}","${last_app}","${last_arg}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${amaflags}","${uuid}","${userfield}"</template>
   </templates>

Modified: freeswitch/trunk/conf/autoload_configs/console.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/console.conf.xml	(original)
+++ freeswitch/trunk/conf/autoload_configs/console.conf.xml	Thu Dec 13 12:16:10 2007
@@ -6,7 +6,7 @@
 	 name can be a file name, function name or 'all' 
 	 value is one or more of debug,info,notice,warning,err,crit,alert,all
     -->
-    <map name="all" value="info,notice,warning,err,crit,alert"/>
+    <map name="all" value="debug,info,notice,warning,err,crit,alert"/>
   </mappings>
   <settings>
     <!-- comment or set to false for no color logging -->



More information about the Freeswitch-trunk mailing list