mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
updated example configuration files
This commit is contained in:
@@ -36,8 +36,7 @@ rpc_encoding = gob # Use json or gob for RPC encoding
|
||||
|
||||
[mediator]
|
||||
enabled = true # Start the mediator service
|
||||
cdr_file = Master.csv # Freeswitch Master CSV CDR file
|
||||
result_file = out.csv # Generated file containing CDR and price info
|
||||
cdr_path = /var/log/freeswitch # Freeswitch Master CSV CDR path
|
||||
rater = internal # Address where to access rater. Can be internal, direct rater address or the address of a balancer
|
||||
rpc_encoding = gob # Use json or gob for RPC encoding
|
||||
skipdb = true # Do not look in the database for logged cdrs, ask rater directly
|
||||
@@ -55,6 +54,14 @@ rpc_encoding = gob # Use json or gob for RPC encoding
|
||||
[freeswitch]
|
||||
server = localhost:8021 # Freeswitch address host:port
|
||||
pass = ClueCon # Freeswtch address host:port
|
||||
direction_index = 0
|
||||
tor_index = 1
|
||||
tenant_index = 2
|
||||
subject_index = 3
|
||||
account_index = 4
|
||||
destination_index = 5
|
||||
time_start_index = 6
|
||||
time_end_index = 7
|
||||
|
||||
[stats]
|
||||
enabled = true # Start the stats web server
|
||||
|
||||
@@ -30,9 +30,16 @@ rpc_encoding = gob # use JSON for RPC encoding
|
||||
|
||||
[mediator]
|
||||
enabled = true
|
||||
cdr_file = Master.csv # Freeswitch Master CSV CDR file.
|
||||
result_file = out.csv # Generated file containing CDR and price info.
|
||||
cdr_path = /tmp # Freeswitch Master CSV CDR file.
|
||||
rater = internal #address where to access rater. Can be internal, direct rater address or the address of a balancer
|
||||
rpc_encoding = gob # use JSON for RPC encoding
|
||||
skipdb = true
|
||||
|
||||
[freeswitch]
|
||||
tor_index = 1
|
||||
tenant_index = 2
|
||||
subject_index = 3
|
||||
account_index = 4
|
||||
destination_index = 5
|
||||
time_start_index = 6
|
||||
time_end_index = 7
|
||||
Reference in New Issue
Block a user