forked from Mirrors/freeswitch
339dfb3b39
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6754 d0543943-73ff-0310-b7d9-9358b9ac24b2
14 lines
1.2 KiB
XML
14 lines
1.2 KiB
XML
<configuration name="cdr_csv.conf" description="CDR CSV Format">
|
|
<settings>
|
|
<!-- 'cdr-csv' will always be appended to log-base -->
|
|
<!--<param name="log-base" value="/var/log"/>-->
|
|
<param name="default-template" value="example"/>
|
|
<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>
|
|
</configuration>
|