Add new test for call (freeswitch)

This commit is contained in:
TeoV
2018-03-20 10:57:22 -04:00
committed by Dan Christian Bogos
parent ae9ceb5169
commit 164ab7270a
4 changed files with 291 additions and 13 deletions

View File

@@ -27,16 +27,16 @@
"rals": {
"enabled": true,
"thresholds_conns": [
{"address": "*internal"}
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"stats_conns": [
{"address": "*internal"}
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"pubsubs_conns": [
{"address": "*internal"}
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"attributes_conns": [
{"address": "*internal"}
{"address": "127.0.0.1:2012", "transport": "*json"}
],
},
@@ -63,12 +63,21 @@
"attributes_conns": [
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"stats_conns": [
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"thresholds_conns": [
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"debit_interval": "10s",
},
"freeswitch_agent": {
"enabled": true,
"sessions_conns": [
{"address": "*internal"}
],
},
@@ -79,14 +88,17 @@
"attributes": {
"enabled": true,
"string_indexed_fields": ["Account"],
},
"resources": {
"enabled": true,
"thresholds_conns": [
{"address": "*internal"}
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"string_indexed_fields": ["Account"],
"prefix_indexed_fields": ["Destination"],
},
@@ -95,11 +107,13 @@
"thresholds_conns": [
{"address": "*internal"}
],
"string_indexed_fields": ["Account","EventType"],
},
"thresholds": {
"enabled": true,
"string_indexed_fields": ["Account","EventType","StatID","ResourceID"],
},
@@ -114,6 +128,8 @@
"stats_conns": [
{"address": "*internal"}
],
"string_indexed_fields": ["Account"],
"prefix_indexed_fields": ["Destination"],
},

View File

@@ -18,8 +18,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="CGRateS real-time charging system"
NAME=cgrates
DAEMON=/usr/bin/cgr-engine
USER=cgrates
GROUP=cgrates
USER=teo
GROUP=teo
DAEMON_OPTS=""
TUTFOLDER=/usr/share/cgrates/tutorials/fs_evsock/cgrates
TMP_DIR=/tmp/cgr_fsevsock/cgrates