ha for diameter agent

renamed ha_rater/ha_cdrs to rater_conns/cdrs_conns
This commit is contained in:
Radu Ioan Fericean
2015-12-04 17:04:42 +02:00
parent 81e3721a7b
commit 44d893c17b
11 changed files with 172 additions and 156 deletions

View File

@@ -180,10 +180,10 @@
//"sm_generic": {
// "enabled": false, // starts SessionManager service: <true|false>
// "listen_bijson": "127.0.0.1:2014", // address where to listen for bidirectional JSON-RPC requests
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_conns": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "debit_interval": "0s", // interval to perform debits on.
@@ -194,10 +194,10 @@
//"sm_freeswitch": {
// "enabled": false, // starts SessionManager service: <true|false>
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_conns": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "create_cdr": false, // create CDR out of events and sends them to CDRS component
@@ -219,10 +219,10 @@
//"sm_kamailio": {
// "enabled": false, // starts SessionManager service: <true|false>
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_conns": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "create_cdr": false, // create CDR out of events and sends them to CDRS component
@@ -238,10 +238,10 @@
//"sm_opensips": {
// "enabled": false, // starts SessionManager service: <true|false>
// "listen_udp": "127.0.0.1:2020", // address where to listen for datagram events coming from OpenSIPS
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_conns": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "reconnects": 5, // number of reconnects if connection is lost
@@ -258,7 +258,9 @@
// "enabled": false, // enables the diameter agent: <true|false>
// "listen": "127.0.0.1:3868", // address where to listen for diameter requests <x.y.z.y:1234>
// "dictionaries_dir": "/usr/share/cgrates/diameter/dict/", // path towards directory holding additional dictionaries to load
// "sm_generic": "internal", // connection towards SMG component for session management
// "sm_generic": [
// {"server":"internal"} // connection towards SMG component for session management
// ]
// "timezone": "", // timezone for timestamps where not specified, empty for general defaults <""|UTC|Local|$IANA_TZ_DB>
// "origin_host": "CGR-DA", // diameter Origin-Host AVP used in replies
// "origin_realm": "cgrates.org", // diameter Origin-Realm AVP used in replies

View File

@@ -47,12 +47,12 @@
"sm_generic": {
"enabled": true,
"ha_rater": [
"rater_conns": [
{"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
],
"ha_cdrs": [
"rater_conns": [
{"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
],
],
},
"diameter_agent": {

View File

@@ -179,10 +179,10 @@
"sm_generic": {
"enabled": true, // starts SessionManager service: <true|false>
// "listen_bijson": "127.0.0.1:2014", // address where to listen for bidirectional JSON-RPC requests
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_conns": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "debit_interval": "10s", // interval to perform debits on.
@@ -193,10 +193,10 @@
//"sm_freeswitch": {
// "enabled": false, // starts SessionManager service: <true|false>
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "create_cdr": false, // create CDR out of events and sends them to CDRS component
@@ -218,10 +218,10 @@
//"sm_kamailio": {
// "enabled": false, // starts SessionManager service: <true|false>
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "create_cdr": false, // create CDR out of events and sends them to CDRS component
@@ -237,10 +237,10 @@
//"sm_opensips": {
// "enabled": false, // starts SessionManager service: <true|false>
// "listen_udp": "127.0.0.1:2020", // address where to listen for datagram events coming from OpenSIPS
// "ha_rater": [
// "rater_conns": [
// {"server": "internal"} // address where to reach the Rater <""|internal|127.0.0.1:2013>
// ],
// "ha_cdrs": [
// "cdrs_": [
// {"server": "internal"} // address where to reach CDR Server, empty to disable CDR capturing <internal|x.y.z.y:1234>
// ],
// "reconnects": 5, // number of reconnects if connection is lost
@@ -313,4 +313,4 @@
// "tax_exemption_code_list": "", // template extracting tax exemption code list out of StoredCdr; <$RSRFields>
//},
}
}