worked on mediator, updated config tests

This commit is contained in:
Radu Ioan Fericean
2012-07-27 17:44:18 +03:00
parent 98967149b7
commit 87f208811e
6 changed files with 120 additions and 79 deletions

View File

@@ -15,43 +15,45 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>
[global]
redis_server = 127.0.0.1:6379 #redis address hostort
redis_db = 10 # redis database number
redis_server = test #redis address hostort
redis_db = 1 # redis database number
[balancer]
enabled = false # Start balancer server
listen = 127.0.0.1:2001 # Balancer listen interface
listen_rater = 127.0.0.1:2000 # Balancer listen interface
json = false # use JSON for RPC encoding
enabled = true # Start balancer server
listen = test # Balancer listen interface
listen_rater = test # Balancer listen interface
json = true # use JSON for RPC encoding
[rater]
enable = true
listen = 127.0.0.1:2001 # listening address hostort, internal for internal communication only
balancer = 127.0.0.1:2000 # if defined it will register to balancer as worker
json = false # use JSON for RPC encoding
enabled = true
listen = test # listening address hostort, internal for internal communication only
balancer = test # if defined it will register to balancer as worker
json = true # use JSON for RPC encoding
[mediator]
enabled = false
cdr_file = Master.csv # Freeswitch Master CSV CDR file.
result_file = out.csv # Generated file containing CDR and price info.
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_paswd = # The user's password.root
enabled = true
cdr_file = test # Freeswitch Master CSV CDR file.
result_file = test # Generated file containing CDR and price info.
rater = test #address where to access rater. Can be internal, direct rater address or the address of a balancer
db_type = test # Only one supported for now
db_host = test # The host to connect to. Values that start with / are for UNIX domain sockets.
db_port = test # The port to bind to.
db_name = test # The name of the database to connect to.
db_user = test # The user to sign in as.
db_passwd = test # The user's password.root
json = true # use JSON for RPC encoding
skipdb = true
[scheduler]
enabled = false
json = false # use JSON for RPC encoding
enabled = true
[session_manager]
enabled = false
rater = 127.0.0.1:2000 #address where to access rater. Can be internal, direct rater address or the address of a balancer
freeswitch_server = localhost:8021 # freeswitch address hostort
freeswitch_pass = ClueCon # freeswitch address hostort
json = false # use JSON for RPC encoding
enabled = true
rater = test #address where to access rater. Can be internal, direct rater address or the address of a balancer
freeswitch_server = test # freeswitch address hostort
freeswitch_pass = test # freeswitch address hostort
json = true # use JSON for RPC encoding
[stats_server]
enabled = false
listen = 127.0.0.1:8000 # Web server address (for stat reports)
enabled = true
listen = test # Web server address (for stat reports)