From c042dc9e84c5d7541d92fd679ff3cd801d41c762 Mon Sep 17 00:00:00 2001 From: alin104n Date: Thu, 6 Jul 2017 22:44:08 +0300 Subject: [PATCH] Config changes --- data/conf/samples/tutmysql/cgrates.json | 5 ++--- data/tutorials/asterisk_ari/cgrates/etc/cgrates/cgrates.json | 5 ++++- data/tutorials/fs_evsock/cgrates/etc/cgrates/cgrates.json | 5 ++++- data/tutorials/osips_async/cgrates/etc/cgrates/cgrates.json | 5 ++++- data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/data/conf/samples/tutmysql/cgrates.json b/data/conf/samples/tutmysql/cgrates.json index a55174f79..c4a024ed1 100644 --- a/data/conf/samples/tutmysql/cgrates.json +++ b/data/conf/samples/tutmysql/cgrates.json @@ -14,9 +14,8 @@ "http": ":2080", }, - "stor_db": { // database used to store offline tariff plans and CDRs - "db_password": "CGRateS.org", // password to use when connecting to stordb + "db_password": "CGRateS.org", // password to use when connecting to stordb }, @@ -105,7 +104,7 @@ "rls": { "enabled": true, // starts ResourceLimiter service: . - "cdrstats_conns": [], // address where to reach the cdrstats service, empty to disable stats functionality: <""|*internal|x.y.z.y:1234> + "cdrstats_conns": [], // address where to reach the cdrstats service, empty to disable stats functionality: <""|*internal|x.y.z.y:1234> "cache_dump_interval": "0s", // dump cache regularly to dataDB, 0 - dump at start/shutdown: <""|*never|dur> "usage_ttl": "3h", // expire usage records if older than this duration <""|*never|dur> }, diff --git a/data/tutorials/asterisk_ari/cgrates/etc/cgrates/cgrates.json b/data/tutorials/asterisk_ari/cgrates/etc/cgrates/cgrates.json index 007f45d24..e6880d9d6 100644 --- a/data/tutorials/asterisk_ari/cgrates/etc/cgrates/cgrates.json +++ b/data/tutorials/asterisk_ari/cgrates/etc/cgrates/cgrates.json @@ -43,6 +43,9 @@ ], }, +"stor_db": { // database used to store offline tariff plans and CDRs + "db_password": "CGRateS.org", // password to use when connecting to stordb +}, "scheduler": { "enabled": true, @@ -120,7 +123,7 @@ {"tag":"Usage", "type": "*composed", "value": "Usage"}, {"tag":"Cost", "type": "*composed", "value": "Cost"}, ], - "trailer_fields": [], + "trailer_fields": [], }, }, diff --git a/data/tutorials/fs_evsock/cgrates/etc/cgrates/cgrates.json b/data/tutorials/fs_evsock/cgrates/etc/cgrates/cgrates.json index 4d25334ca..78ad83432 100644 --- a/data/tutorials/fs_evsock/cgrates/etc/cgrates/cgrates.json +++ b/data/tutorials/fs_evsock/cgrates/etc/cgrates/cgrates.json @@ -26,6 +26,9 @@ ], }, +"stor_db": { // database used to store offline tariff plans and CDRs + "db_password": "CGRateS.org", // password to use when connecting to stordb +}, "scheduler": { "enabled": true, // start Scheduler service: @@ -111,7 +114,7 @@ {"tag":"Usage", "type": "*composed", "value": "Usage"}, {"tag":"Cost", "type": "*composed", "value": "Cost"}, ], - "trailer_fields": [], + "trailer_fields": [], }, }, diff --git a/data/tutorials/osips_async/cgrates/etc/cgrates/cgrates.json b/data/tutorials/osips_async/cgrates/etc/cgrates/cgrates.json index 0bc9ee677..577da4fe0 100644 --- a/data/tutorials/osips_async/cgrates/etc/cgrates/cgrates.json +++ b/data/tutorials/osips_async/cgrates/etc/cgrates/cgrates.json @@ -24,6 +24,9 @@ ], }, +"stor_db": { // database used to store offline tariff plans and CDRs + "db_password": "CGRateS.org", // password to use when connecting to stordb +}, "scheduler": { "enabled": true, @@ -101,7 +104,7 @@ {"tag":"Usage", "type": "*composed", "value": "Usage"}, {"tag":"Cost", "type": "*composed", "value": "Cost"}, ], - "trailer_fields": [], + "trailer_fields": [], }, }, diff --git a/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json b/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json index fcb3f9444..b9d2d62bd 100644 --- a/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json +++ b/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json @@ -108,7 +108,7 @@ {"tag":"Usage", "type": "*composed", "value": "Usage"}, {"tag":"Cost", "type": "*composed", "value": "Cost"}, ], - "trailer_fields": [], + "trailer_fields": [], }, },