mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
68 lines
1.2 KiB
JSON
68 lines
1.2 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.
|
|
|
|
|
|
"general": {
|
|
"log_level": 7, // control the level of messages logged (0-emerg to 7-debug)
|
|
},
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"rates_conns": ["*internal"],
|
|
"cdrs_conns": ["*internal"],
|
|
"chargers_conns": ["*internal"],
|
|
"routes_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"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},
|
|
],
|
|
}
|
|
|
|
} |