2
0

cdr_sqlite.conf.xml 999 B

123456789101112131415161718
  1. <configuration name="cdr_sqlite.conf" description="SQLite CDR">
  2. <settings>
  3. <!-- SQLite database name (.db suffix will be automatically appended) -->
  4. <!-- <param name="db-name" value="cdr"/> -->
  5. <!-- CDR table name -->
  6. <!-- <param name="db-table" value="cdr"/> -->
  7. <!-- Log a-leg (a), b-leg (b) or both (ab) -->
  8. <param name="legs" value="a"/>
  9. <!-- Default template to use when inserting records -->
  10. <param name="default-template" value="example"/>
  11. <!-- This is like the info app but after the call is hung up -->
  12. <!--<param name="debug" value="true"/>-->
  13. </settings>
  14. <templates>
  15. <!-- Note that field order must match SQL table schema, otherwise insert will fail -->
  16. <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>
  17. </templates>
  18. </configuration>