mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 06:09:53 +05:00
Multiple configuration files local tests
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
# CGRateS Configuration file
|
||||
#
|
||||
# Used in mediator_local_test
|
||||
# Starts rater, cdrs and mediator connecting over internal channel
|
||||
|
||||
[rater]
|
||||
enabled = true # Enable RaterCDRSExportPath service: <true|false>.
|
||||
|
||||
[cdrs]
|
||||
enabled = true # Start the CDR Server service: <true|false>.
|
||||
mediator = internal # Address where to reach the Mediator. Empty for disabling mediation. <""|internal>
|
||||
|
||||
[cdre]
|
||||
export_dir = /tmp/cgrates/cdr/cdrexport/csv # Path where the exported CDRs will be placed
|
||||
|
||||
[mediator]
|
||||
enabled = true # Starts Mediator service: <true|false>.
|
||||
rater = internal # Address where to reach the Rater: <internal|x.y.z.y:1234>
|
||||
|
||||
[derived_charging]
|
||||
run_ids = run2 # Identifiers of additional sessions control.
|
||||
reqtype_fields = *default # Name of request type fields to be used during additional sessions control <""|*default|field_name>.
|
||||
direction_fields = *default # Name of direction fields to be used during additional sessions control <""|*default|field_name>.
|
||||
tenant_fields = *default # Name of tenant fields to be used during additional sessions control <""|*default|field_name>.
|
||||
tor_fields = *default # Name of tor fields to be used during additional sessions control <""|*default|field_name>.
|
||||
account_fields = ^dc2 # Name of account fields to be used during additional sessions control <""|*default|field_name>.
|
||||
subject_fields = ^dc2 # Name of fields to be used during additional sessions control <""|*default|field_name>.
|
||||
destination_fields = *default # Name of destination fields to be used during additional sessions control <""|*default|field_name>.
|
||||
# setup_time_fields = # Name of setup_time fields to be used during additional sessions control <""|*default|field_name>.
|
||||
# answer_time_fields = # Name of answer_time fields to be used during additional sessions control <""|*default|field_name>.
|
||||
# duration_fields = # Name of duration fields to be used during additional sessions control <""|*default|field_name>.
|
||||
# combined_chargers = true # Combine accounts specific derived_chargers with server configured ones <true|false>.
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
"cdre": {
|
||||
"export1": {
|
||||
"cost_rounding_decimals": 1, // rounding decimals for Cost values. -1 to disable rounding
|
||||
"cost_rounding_decimals": 3, // rounding decimals for Cost values. -1 to disable rounding
|
||||
"content_fields": [ // template of the exported content fields
|
||||
{"tag":"Tenant", "cdr_field_id": "tenant", "type": "cdrfield", "value": "tenant"},
|
||||
{"tag":"Category", "cdr_field_id": "category", "type": "cdrfield", "value": "category"},
|
||||
|
||||
Reference in New Issue
Block a user