Updated DispatcherH configuration

This commit is contained in:
Trial97
2020-08-26 10:39:17 +03:00
committed by Dan Christian Bogos
parent 7f832da40d
commit 14ddc00fb8
11 changed files with 197 additions and 134 deletions

View File

@@ -150,13 +150,14 @@
// },
// "http": { // HTTP server configuration
// "json_rpc_url": "/jsonrpc", // JSON RPC relative URL ("" to disable)
// "ws_url": "/ws", // WebSockets relative URL ("" to disable)
// "freeswitch_cdrs_url": "/freeswitch_json", // Freeswitch CDRS relative URL ("" to disable)
// "http_cdrs": "/cdr_http", // CDRS relative URL ("" to disable)
// "use_basic_auth": false, // use basic authentication
// "auth_users": {}, // basic authentication usernames and base64-encoded passwords (eg: { "username1": "cGFzc3dvcmQ=", "username2": "cGFzc3dvcmQy "})
// "http": { // HTTP server configuration
// "json_rpc_url": "/jsonrpc", // JSON RPC relative URL ("" to disable)
// "dispatchers_registrar_url": "/dispatchers_registrar", // dispatcherH registrar service relative URL
// "ws_url": "/ws", // WebSockets relative URL ("" to disable)
// "freeswitch_cdrs_url": "/freeswitch_json", // Freeswitch CDRS relative URL ("" to disable)
// "http_cdrs": "/cdr_http", // CDRS relative URL ("" to disable)
// "use_basic_auth": false, // use basic authentication
// "auth_users": {}, // basic authentication usernames and base64-encoded passwords (eg: { "username1": "cGFzc3dvcmQ=", "username2": "cGFzc3dvcmQy "})
// },
@@ -910,6 +911,14 @@
// },
// "dispatcherh":{
// "enabled": false,
// "dispatchers_conns": [],
// "hosts": {},
// "register_interval": "5m",
// },
// "analyzers":{ // AnalyzerS config
// "enabled":false // starts AnalyzerS service: <true|false>.
// },

View File

@@ -107,10 +107,10 @@
"dispatcherh":{
"enabled": false,
"dispatchers_conns": ["dispConn"],
"host_ids": {"*default":["ALL"]},
"hosts": {
"*default":[{"ID":"ALL", "register_transport": "*json", "register_tls": false}]
},
"register_interval": "1s",
"register_transport": "*json",
"register_tls": false,
},

View File

@@ -102,13 +102,14 @@
},
"dispatcherh":{
"enabled": false,
"dispatchers_conns": ["dispConn"],
"host_ids": {"*default":["ALL"]},
"hosts": {
"*default":[{"ID":"ALL2", "register_transport": "*json", "register_tls": false}]
},
"register_interval": "1s",
"register_transport": "*json",
"register_tls": false,
},

View File

@@ -111,10 +111,10 @@
"dispatcherh":{
"enabled": false,
"dispatchers_conns": ["dispConn"],
"host_ids": {"*default":["ALL"]},
"hosts": {
"*default":[{"ID":"ALL", "register_transport": "*json", "register_tls": false}]
},
"register_interval": "1s",
"register_transport": "*json",
"register_tls": false,
},

View File

@@ -109,10 +109,10 @@
"dispatcherh":{
"enabled": false,
"dispatchers_conns": ["dispConn"],
"host_ids": {"*default":["ALL"]},
"hosts": {
"*default":[{"ID":"ALL2", "register_transport": "*json", "register_tls": false}]
},
"register_interval": "1s",
"register_transport": "*json",
"register_tls": false,
},