mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
89 lines
1.4 KiB
JSON
89 lines
1.4 KiB
JSON
{
|
|
|
|
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
|
|
// Copyright (C) ITsysCOM GmbH
|
|
//
|
|
// This file contains the default configuration hardcoded into CGRateS.
|
|
// This is what you get when you load CGRateS with an empty configuration file.
|
|
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
|
|
"rpc_conns": {
|
|
"*jsonbirpc": {
|
|
"conns": [{"address": "127.0.0.1:2014", "transport":"*birpc_json"}],
|
|
},
|
|
},
|
|
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "*internal",
|
|
"opts":{
|
|
"internalDBRewriteInterval": "0s",
|
|
"internalDBDumpInterval": "0s"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"rates_conns": ["*internal"],
|
|
"cdrs_conns": ["*internal"],
|
|
"chargers_conns": ["*internal"],
|
|
"routes_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"rates_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"], // connections to AttributeS for event fields altering <""|127.0.0.1:2013>
|
|
},
|
|
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
"indexed_selects": false, // enable profile matching exclusively on indexes
|
|
},
|
|
|
|
|
|
"routes": {
|
|
"enabled": true,
|
|
"rates_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"sip_agent": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"templates": {
|
|
"*err": [
|
|
{"tag": "Request", "path": "*rep.Request", "type": "*constant",
|
|
"value": "SIP/2.0 500 Internal Server Error", "mandatory": true},
|
|
],
|
|
}
|
|
|
|
} |