Browse code

rtpengine: replaced rtpproxy with rtpengine

- avoid confusion in printed log messges

Daniel-Constantin Mierla authored on 23/03/2020 17:42:23
Showing 1 changed files
... ...
@@ -42,13 +42,16 @@ void	*rtpengine_cfg = &default_rtpengine_cfg;
42 42
 
43 43
 cfg_def_t	rtpengine_cfg_def[] = {
44 44
 	{"rtpengine_disable_tout",	CFG_VAR_INT | CFG_ATOMIC, 	0, 0, 0, 0,
45
-		"The time after which rtpengine will try to communicate to an RTP proxy after it has been marked disabled automatically. "},
45
+		"The time after which rtpengine module will try to communicate"
46
+			" with an RTPEngine instance after it has been marked disabled automatically. "},
46 47
 	{"aggressive_redetection",	CFG_VAR_INT | CFG_ATOMIC, 	0, 1, 0, 0,
47
-		"Determines if the sip proxy should force a query of all nodes when all RTP proxies seem unavailable."},
48
+		"Determines if the sip proxy should force a query of all nodes"
49
+			" when all RTPEngine instances seem unavailable."},
48 50
 	{"rtpengine_tout_ms",		CFG_VAR_INT | CFG_ATOMIC, 	0, 0, 0, 0,
49
-		"The total number of nodes inside a set to be queried before giving up establishing a session"},
51
+		"The total number of nodes inside a set to be queried before giving up"
52
+			" establishing a session"},
50 53
 	{"queried_nodes_limit",     CFG_VAR_INT | CFG_ATOMIC,   0, MAX_RTPP_TRIED_NODES, 0, 0,
51
-		"Timeout value expressed in milliseconds in waiting for reply from RTP proxy"},
54
+		"Timeout value expressed in milliseconds to wait for reply from RTPEngine"},
52 55
 	{"rtpengine_retr",	CFG_VAR_INT | CFG_ATOMIC,	0, 0, 0, 0,
53 56
 		"How many times the module should retry to send and receive after timeout was generated"},
54 57
 	{0, 0, 0, 0, 0, 0}
Browse code

rtpengine: adding aggressive_redetection param

Lucian Balaceanu authored on 12/01/2018 11:36:34
Showing 1 changed files
... ...
@@ -32,6 +32,7 @@
32 32
 
33 33
 struct cfg_group_rtpengine	default_rtpengine_cfg = {
34 34
 		60,	/* default disable timeout in seconds */
35
+		1,	/* default aggressive_redetection enabled */
35 36
 		1000,	/* default wait timeout in milliseconds */
36 37
 		MAX_RTPP_TRIED_NODES,
37 38
         5, /* rtprengine retries */
... ...
@@ -42,6 +43,8 @@ void	*rtpengine_cfg = &default_rtpengine_cfg;
42 43
 cfg_def_t	rtpengine_cfg_def[] = {
43 44
 	{"rtpengine_disable_tout",	CFG_VAR_INT | CFG_ATOMIC, 	0, 0, 0, 0,
44 45
 		"The time after which rtpengine will try to communicate to an RTP proxy after it has been marked disabled automatically. "},
46
+	{"aggressive_redetection",	CFG_VAR_INT | CFG_ATOMIC, 	0, 1, 0, 0,
47
+		"Determines if the sip proxy should force a query of all nodes when all RTP proxies seem unavailable."},
45 48
 	{"rtpengine_tout_ms",		CFG_VAR_INT | CFG_ATOMIC, 	0, 0, 0, 0,
46 49
 		"The total number of nodes inside a set to be queried before giving up establishing a session"},
47 50
 	{"queried_nodes_limit",     CFG_VAR_INT | CFG_ATOMIC,   0, MAX_RTPP_TRIED_NODES, 0, 0,
Browse code

core, lib, modules: updated include paths for header files

Daniel-Constantin Mierla authored on 07/12/2016 11:07:22
Showing 1 changed files
... ...
@@ -25,8 +25,8 @@
25 25
  */
26 26
 
27 27
 
28
-#include "../../cfg/cfg.h"
29
-#include "../../parser/msg_parser.h" /* method types */
28
+#include "../../core/cfg/cfg.h"
29
+#include "../../core/parser/msg_parser.h" /* method types */
30 30
 
31 31
 #include "config.h"
32 32
 
Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,52 @@
1
+/*
2
+ * $Id$
3
+ * This file is part of SIP-router, a free SIP server.
4
+ *
5
+ * SIP-router is free software; you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation; either version 2 of the License, or
8
+ * (at your option) any later version
9
+ *
10
+ * SIP-router is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program; if not, write to the Free Software
17
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
+ *
19
+ */
20
+
21
+/*!
22
+ * \file 
23
+ * \brief Rtpengine :: Configuration
24
+ * \ingroup Rtpengine
25
+ */
26
+
27
+
28
+#include "../../cfg/cfg.h"
29
+#include "../../parser/msg_parser.h" /* method types */
30
+
31
+#include "config.h"
32
+
33
+struct cfg_group_rtpengine	default_rtpengine_cfg = {
34
+		60,	/* default disable timeout in seconds */
35
+		1000,	/* default wait timeout in milliseconds */
36
+		MAX_RTPP_TRIED_NODES,
37
+        5, /* rtprengine retries */
38
+	    };
39
+
40
+void	*rtpengine_cfg = &default_rtpengine_cfg;
41
+
42
+cfg_def_t	rtpengine_cfg_def[] = {
43
+	{"rtpengine_disable_tout",	CFG_VAR_INT | CFG_ATOMIC, 	0, 0, 0, 0,
44
+		"The time after which rtpengine will try to communicate to an RTP proxy after it has been marked disabled automatically. "},
45
+	{"rtpengine_tout_ms",		CFG_VAR_INT | CFG_ATOMIC, 	0, 0, 0, 0,
46
+		"The total number of nodes inside a set to be queried before giving up establishing a session"},
47
+	{"queried_nodes_limit",     CFG_VAR_INT | CFG_ATOMIC,   0, MAX_RTPP_TRIED_NODES, 0, 0,
48
+		"Timeout value expressed in milliseconds in waiting for reply from RTP proxy"},
49
+	{"rtpengine_retr",	CFG_VAR_INT | CFG_ATOMIC,	0, 0, 0, 0,
50
+		"How many times the module should retry to send and receive after timeout was generated"},
51
+	{0, 0, 0, 0, 0, 0}
52
+};