From a06c1cac2295c76e7ffbfe3f16230e72ce1e3460 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 3 Sep 2012 23:06:59 +0300 Subject: [PATCH] updated example configuration files --- conf/full.config | 11 +++++++++-- conf/mediator.config | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/conf/full.config b/conf/full.config index c098b293e..d1db70bba 100644 --- a/conf/full.config +++ b/conf/full.config @@ -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 diff --git a/conf/mediator.config b/conf/mediator.config index 9d99b0bd2..700d506c1 100644 --- a/conf/mediator.config +++ b/conf/mediator.config @@ -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 \ No newline at end of file