diff --git a/data/conf/balancer.config b/data/conf/balancer.config deleted file mode 100644 index d0ef59628..000000000 --- a/data/conf/balancer.config +++ /dev/null @@ -1,34 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis # -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = mongo -logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -logdb_name = cgrates # The name of the database to connect to. - -[balancer] -enabled = true # Start balancer server -listen = 127.0.0.1:2001 # Balancer listen interface -rpc_encoding = gob # use JSON for RPC encoding - -[rater] -enabled = true -listen = 127.0.0.1:1234 # listening address host:port, internal for internal communication only -balancer = disabled # if defined it will register to balancer as worker -rpc_encoding = gob # use JSON for RPC encoding diff --git a/data/conf/balancer_standalone.config b/data/conf/balancer_standalone.config deleted file mode 100644 index c7974f373..000000000 --- a/data/conf/balancer_standalone.config +++ /dev/null @@ -1,32 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis # -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = mongo -logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -logdb_name = cgrates # The name of the database to connect to. - - -[balancer] -enabled = true # Start balancer server -listen = 127.0.0.1:2001 # Balancer listen interface -rpc_encoding = gob # use JSON for RPC encoding - -[rater] -enabled = false diff --git a/data/conf/full.config b/data/conf/full.config deleted file mode 100644 index 24dfc2a80..000000000 --- a/data/conf/full.config +++ /dev/null @@ -1,66 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis # The main database: redis|mongo|postgres. -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = mongo # The logging database: redis|mongo|postgres|same. -logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -logdb_name = cgrates # The name of the database to connect to. - - -[balancer] -enabled = false # Start balancer server -listen = 127.0.0.1:2001 # Balancer listen interface -rpc_encoding = gob # Use json or gob for RPC encoding - -[rater] -enabled = true # Start the rating service -listen = 127.0.0.1:2001 # Listening address host:port, internal for internal communication only -balancer = disabled # If defined it will register to balancer as worker -rpc_encoding = gob # Use json or gob for RPC encoding - -[mediator] -enabled = true # Start the mediator service -cdr_path = /var/log/freeswitch # Freeswitch Master CSV CDR path -cdr_out_path = /var/log/freeswitch/out # 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 - -[scheduler] -enabled = true # Start the schedule service - -[session_manager] -enabled = true # Start the session manager service -switch_type = freeswitch # The switch type to be used -debit_period = 10 # The number of seconds to be debited in advance during a call -rater = 127.0.0.1:2000 # 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 - -[freeswitch] -server = localhost:8021 # Freeswitch address host:port -pass = ClueCon # Freeswtch address host:port -direction_index = 0 # the position of elements in the Master.csv file -tor_index = 1 -tenant_index = 2 -subject_index = 3 -account_index = 4 -destination_index = 5 -time_start_index = 6 -time_end_index = 7 - diff --git a/data/conf/mediator.config b/data/conf/mediator.config deleted file mode 100644 index c6e12456b..000000000 --- a/data/conf/mediator.config +++ /dev/null @@ -1,42 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = mongo -logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -logdb_name = cgrates # The name of the database to connect to. - -[mediator] -enabled = true -cdr_path = /tmp/cgrates # Freeswitch Master CSV CDR file. -cdr_out_path = /tmp/cgrates/out # 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 = false -pseudo_prepaid = false - -[freeswitch] -direction_index = 0 -tor_index = 0 -tenant_index = 1 -subject_index = 2 -account_index = 2 -destination_index = 2 -time_start_index = 4 -duration_index = 5 diff --git a/data/conf/rater.config b/data/conf/rater.config deleted file mode 100644 index 0df3863da..000000000 --- a/data/conf/rater.config +++ /dev/null @@ -1,29 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = mongo -logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -logdb_name = cgrates # The name of the database to connect to. - -[rater] -enabled = true -listen = 127.0.0.1:1234 # listening address host:port, internal for internal communication only -balancer = 127.0.0.1:2001 # if defined it will register to balancer as worker -rpc_encoding = gob # use JSON for RPC encoding diff --git a/data/conf/rater_standalone.config b/data/conf/rater_standalone.config deleted file mode 100644 index 4b87553eb..000000000 --- a/data/conf/rater_standalone.config +++ /dev/null @@ -1,27 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = same - -[rater] -enabled = true -listen = 127.0.0.1:2001 # listening address host:port, internal for internal communication only -balancer = disabled # if defined it will register to balancer as worker -rpc_encoding = gob # use JSON for RPC encoding diff --git a/data/conf/scheduler.config b/data/conf/scheduler.config deleted file mode 100644 index 01c60224f..000000000 --- a/data/conf/scheduler.config +++ /dev/null @@ -1,24 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis # -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = same - -[scheduler] -enabled = true diff --git a/data/conf/session_manager.config b/data/conf/session_manager.config deleted file mode 100644 index 9cd8a496c..000000000 --- a/data/conf/session_manager.config +++ /dev/null @@ -1,37 +0,0 @@ -# Rating system designed to be used in VoIP Carriers World -# Copyright (C) 2012 Radu Ioan Fericean -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see - -[global] -datadb_type = redis -datadb_host = 127.0.0.1:6379 # The host to connect to. Values that start with / are for UNIX domain sockets. -datadb_name = 10 # The name of the database to connect to. -logdb_type = mongo -logdb_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets. -logdb_name = cgrates # The name of the database to connect to. - -[session_manager] -enabled = true -switch_type = freeswitch -debit_period = 10 -rater = internal #address where to access rater. Can be internal, direct rater address or the address of a balancer -rpc_encoding = gob - -[scheduler] -enabled = true - -[freeswitch] -server = localhost:8021 -pass = ClueCon