source: packages/net/freeswitch/files/etc.packages/cdr_pg_csv/autoload_configs/cdr_pg_csv.conf.xml @ 27176

Last change on this file since 27176 was 27176, checked in by mazilo, 5 years ago

Fixed tickets #9551, #9552, and #9553.

File size: 1.5 KB
Line 
1<configuration name="cdr_pg_csv.conf" description="CDR PG CSV Format">
2  <settings>
3    <!-- See parameters for PQconnectdb() at http://www.postgresql.org/docs/8.4/static/libpq-connect.html -->
4    <param name="db-info" value="host=localhost dbname=cdr connect_timeout=10" />
5    <!-- CDR table name -->
6    <!--<param name="db-table" value="cdr"/>-->
7
8    <!-- Log a-leg (a), b-leg (b) or both (ab) -->
9    <param name="legs" value="a"/>
10
11    <!-- Directory in which to spool failed SQL inserts -->
12    <!-- <param name="spool-dir" value="$${base_dir}/log/cdr-pg-csv"/> -->
13    <!-- Disk spool format if DB connection/insert fails - csv (default) or sql -->
14    <param name="spool-format" value="csv"/>
15    <param name="rotate-on-hup" value="true"/>
16
17    <!-- This is like the info app but after the call is hung up -->
18    <!--<param name="debug" value="true"/>-->
19  </settings>
20  <schema>
21    <field var="local_ip_v4"/>
22    <field var="caller_id_name"/>
23    <field var="caller_id_number"/>
24    <field var="destination_number"/>
25    <field var="context"/>
26    <field var="start_stamp"/>
27    <field var="answer_stamp"/>
28    <field var="end_stamp"/>
29    <field var="duration" quote="false"/>
30    <field var="billsec" quote="false"/>
31    <field var="hangup_cause"/>
32    <field var="uuid"/>
33    <field var="bleg_uuid"/>
34    <field var="accountcode"/>
35    <field var="read_codec"/>
36    <field var="write_codec"/>
37    <!-- <field var="sip_hangup_disposition"/> -->
38    <!-- <field var="ani"/> -->
39  </schema>
40</configuration>
Note: See TracBrowser for help on using the repository browser.