diff --git a/conf/balancer.config b/conf/balancer.config index 2ae215402..bc5979289 100644 --- a/conf/balancer.config +++ b/conf/balancer.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [balancer] enabled = true # Start balancer server diff --git a/conf/balancer_standalone.config b/conf/balancer_standalone.config index 4165383d3..e1fa8a5bf 100644 --- a/conf/balancer_standalone.config +++ b/conf/balancer_standalone.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [balancer] enabled = true # Start balancer server diff --git a/conf/full.config b/conf/full.config index b72198d20..e80f68bbf 100644 --- a/conf/full.config +++ b/conf/full.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [balancer] enabled = false # Start balancer server @@ -34,12 +40,6 @@ enabled = true cdr_file = Master.csv # Freeswitch Master CSV CDR file. result_file = out.csv # Generated file containing CDR and price info. rater = internal #address where to access rater. Can be internal, direct rater address or the address of a balancer -db_type = postgres # Only one supported for now -db_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -db_port = 5432 # The port to bind to. -db_name = cgrates # The name of the database to connect to. -db_user = # The user to sign in as. -db_passwd = # The user's password.root rpc_encoding = gob # use JSON for RPC encoding skipdb = true diff --git a/conf/mediator.config b/conf/mediator.config index 0243c8c84..e6043149c 100644 --- a/conf/mediator.config +++ b/conf/mediator.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [rater] enabled = true @@ -29,12 +35,6 @@ enabled = true cdr_file = Master.csv # Freeswitch Master CSV CDR file. result_file = out.csv # Generated file containing CDR and price info. rater = internal #address where to access rater. Can be internal, direct rater address or the address of a balancer -db_type = postgres # Only one supported for now -db_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -db_port = 5432 # The port to bind to. -db_name = cgrates # The name of the database to connect to. -db_user = # The user to sign in as. -db_passwd = # The user's password.root rpc_encoding = gob # use JSON for RPC encoding skipdb = true diff --git a/conf/rater.config b/conf/rater.config index 8c4c9a1e8..9205f6151 100644 --- a/conf/rater.config +++ b/conf/rater.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [rater] enabled = true diff --git a/conf/rater_standalone.config b/conf/rater_standalone.config index 62d2e71a2..157f14645 100644 --- a/conf/rater_standalone.config +++ b/conf/rater_standalone.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [rater] enabled = true diff --git a/conf/scheduler.config b/conf/scheduler.config index 0d8491151..740af2823 100644 --- a/conf/scheduler.config +++ b/conf/scheduler.config @@ -17,6 +17,12 @@ [global] redis_server = 127.0.0.1:6379 #redis address host:port redis_db = 10 # redis database number +logdb_type = postgres # +logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. +logdb_port = 5432 # The port to bind to. +logdb_name = gosqltest # The name of the database to connect to. +logdb_user = rif # The user to sign in as. +logdb_passwd = testus # The user's password.root [rater] enabled = true