]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add debug and read and write codec to the example cdr template
authorBrian West <brian@freeswitch.org>
Mon, 17 Dec 2007 04:02:02 +0000 (04:02 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 17 Dec 2007 04:02:02 +0000 (04:02 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6832 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/cdr_csv.conf.xml

index 39612d3e8a1ecfe5332fc7d0e67693d06463e1a4..b3099431f6b56871c6f47aad5a665f5f469755db 100644 (file)
@@ -3,11 +3,13 @@
     <!-- 'cdr-csv' will always be appended to log-base -->
     <!--<param name="log-base" value="/var/log"/>-->
     <param name="default-template" value="example"/>
+    <!-- This is like the info app but after the call is hung up -->
+    <!--<param name="debug" value="true"/>-->
     <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="example">"${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", "${accountcode}","${read_codec}","${write_codec}"</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>
 </configuration>