]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add cdr_csv template for OpenCDRRate
authorTravis Cross <tc@traviscross.com>
Wed, 7 Mar 2012 22:58:35 +0000 (22:58 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 7 Mar 2012 22:59:05 +0000 (22:59 +0000)
conf/autoload_configs/cdr_csv.conf.xml

index bcefd460b436c780090223383303c303d73ea8ea..4026e2f2a1e472649366bfcde3fb8378e6abf5a3 100644 (file)
@@ -17,6 +17,7 @@
     <template name="snom">"${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}","${sip_user_agent}","${call_clientcode}","${sip_rtp_rxstat}","${sip_rtp_txstat}","${sofia_record_file}"</template>
     <template name="linksys">"${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}","${sip_user_agent}","${sip_p_rtp_stat}"</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>
+    <template name="opencdrrate">"${uuid}","${bleg_uuid}","${direction}","${ani}","${destination_number}","${answer_stamp}","${end_stamp}","${billsec}","${accountcode}","${userfield}","${network_addr}","${regex('${original_caller_id_name}'|^.)}","${sip_gateway_name}"</template>
   </templates>
 </configuration>