Files
cgrates/data/conf/samples/multifiles/c.json
2018-08-30 11:40:06 +02:00

23 lines
1.2 KiB
JSON

{
// CGRateS Configuration file
// Used in multifile configuration tests
// Should be the third file loaded
"cdre": {
"export1": {
"cost_rounding_decimals": 3, // rounding decimals for Cost values. -1 to disable rounding
"content_fields": [ // template of the exported content fields
{"id":"Tenant", "cdr_field_id": "tenant", "type": "cdrfield", "value": "tenant"},
{"id":"Category", "cdr_field_id": "category", "type": "cdrfield", "value": "category"},
{"id":"Account", "cdr_field_id": "account", "type": "cdrfield", "value": "account"},
{"id":"Subject", "cdr_field_id": "subject", "type": "cdrfield", "value": "subject"},
{"id":"Destination", "cdr_field_id": "destination", "type": "cdrfield", "value": "destination"},
{"id":"SetupTime", "cdr_field_id": "setup_time", "type": "cdrfield", "value": "setup_time", "layout": "2006-01-02T15:04:05Z07:00"},
{"id":"AnswerTime", "cdr_field_id": "answer_time", "type": "cdrfield", "value": "answer_time", "layout": "2006-01-02T15:04:05Z07:00"},
{"id":"Usage", "cdr_field_id": "usage", "type": "cdrfield", "value": "usage"},
{"id":"Cost", "cdr_field_id": "cost", "type": "cdrfield", "value": "cost"},
], // template of the exported header fields
}
},
}