Fixed tickets #9551, #9552, and #9553.
[openwrt/svn-archive/archive.git] / net / freeswitch / files / etc.packages / cdr_csv / autoload_configs / cdr_csv.conf.xml
1 <configuration name="cdr_csv.conf" description="CDR CSV Format">
2 <settings>
3 <!-- 'cdr-csv' will always be appended to log-base -->
4 <!--<param name="log-base" value="/var/log"/>-->
5 <param name="default-template" value="example"/>
6 <!-- This is like the info app but after the call is hung up -->
7 <!--<param name="debug" value="true"/>-->
8 <param name="rotate-on-hup" value="true"/>
9 <!-- may be a b or ab -->
10 <param name="legs" value="a"/>
11 <!-- Only log in Master.csv -->
12 <!-- <param name="master-file-only" value="true"/> -->
13 </settings>
14 <templates>
15 <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>
16 <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>
17 <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>
18 <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>
19 <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>
20 </templates>
21 </configuration>
22