sql format for CDR.. send HUP to rotate.. then import into SQL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6754 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
169dc9a58c
commit
339dfb3b39
|
@ -6,6 +6,7 @@
|
|||
<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>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
name can be a file name, function name or 'all'
|
||||
value is one or more of debug,info,notice,warning,err,crit,alert,all
|
||||
-->
|
||||
<map name="all" value="info,notice,warning,err,crit,alert"/>
|
||||
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
|
||||
</mappings>
|
||||
<settings>
|
||||
<!-- comment or set to false for no color logging -->
|
||||
|
|
Loading…
Reference in New Issue