forked from Mirrors/freeswitch
5c4217e7cf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6989 d0543943-73ff-0310-b7d9-9358b9ac24b2
17 lines
1.7 KiB
XML
17 lines
1.7 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"/>
|
|
<!-- 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}","${read_codec}","${write_codec}"</template>
|
|
<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}"</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>
|