2007-12-06 14:51:55 -05:00
|
|
|
<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"/>
|
2007-12-16 23:02:02 -05:00
|
|
|
<!-- This is like the info app but after the call is hung up -->
|
|
|
|
<!--<param name="debug" value="true"/>-->
|
2007-12-06 14:51:55 -05:00
|
|
|
<param name="rotate-on-hup" value="true"/>
|
2008-05-29 17:35:58 -04:00
|
|
|
<!-- may be a b or ab -->
|
|
|
|
<param name="legs" value="a"/>
|
2009-09-08 11:01:55 -04:00
|
|
|
<!-- Only log in Master.csv -->
|
|
|
|
<!-- <param name="master-file-only" value="true"/> -->
|
2007-12-06 14:51:55 -05:00
|
|
|
</settings>
|
|
|
|
<templates>
|
2007-12-13 12:16:10 -05:00
|
|
|
<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>
|
2008-11-10 03:15:00 -05:00
|
|
|
<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>
|
2008-04-15 12:17:15 -04:00
|
|
|
<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>
|
2008-06-23 15:57:31 -04:00
|
|
|
<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>
|
2007-12-06 14:51:55 -05:00
|
|
|
<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>
|
2008-04-15 12:17:15 -04:00
|
|
|
|