Browse code

core - test: reorganized the old files in test folder

- moved to subfolders in test/misc
- keep content of the test folder cleaner for travis and unit tests

Daniel-Constantin Mierla authored on 26/11/2015 22:30:51
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,53 +0,0 @@
1
-#
2
-# tm test configuration, please don't touch
3
-# - andrei
4
-#
5
-#
6
-#
7
-
8
-
9
-
10
-debug=3          # debug level (cmd line: -dddddddddd)
11
-fork=yes          # (cmd. line: -D)
12
-#fork=no
13
-log_stderror=yes # (cmd line: -E)
14
-#log_stderror=no	# (cmd line: -E)
15
-
16
-
17
-children=4
18
-check_via=no     # (cmd. line: -v)
19
-dns=on           # (cmd. line: -r)
20
-rev_dns=yes      # (cmd. line: -R)
21
-#port=5070
22
-#listen=127.0.0.1
23
-#listen=192.168.57.33
24
-#listen=192.168.57.72
25
-#listen=10.0.0.179
26
-loop_checks=0
27
-# for more info: sip_router -h
28
-
29
-#modules
30
-#loadmodule "modules/print/print.so"
31
-loadmodule "modules/tm/tm.so"
32
-#loadmodule "modules/rr/rr.so"
33
-loadmodule "modules/maxfwd/maxfwd.so"
34
-
35
-
36
-route{
37
-             if ( mf_is_maxfwd_present() )
38
-             {
39
-                   if ( !mf_decrement_maxfwd() )
40
-                   {
41
-                     log("SER : unable to decrement MAX_FORWARD!\n");
42
-                   };
43
-                   if ( mf_is_maxfwd_zero() )
44
-                   {
45
-                     log("SER: MAX FORWARD header is zero\n");
46
-                     drop();
47
-                   };
48
-             }else{
49
-                   mf_add_maxfwd_header( "10" );
50
-             };
51
-
52
-             t_relay();
53
-}
Browse code

test: Remove SVN ID's

Olle E. Johansson authored on 07/03/2015 19:43:49
Showing 1 changed files
... ...
@@ -2,7 +2,6 @@
2 2
 # tm test configuration, please don't touch
3 3
 # - andrei
4 4
 #
5
-# $Id$
6 5
 #
7 6
 #
8 7
 
Browse code

- changed signal handling, added an attendant process

Andrei Pelinescu-Onciul authored on 11/07/2002 14:39:30
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@ rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24 24
 #listen=192.168.57.33
25
-listen=192.168.57.72
25
+#listen=192.168.57.72
26 26
 #listen=10.0.0.179
27 27
 loop_checks=0
28 28
 # for more info: sip_router -h
Browse code

- ipaq fixes, compiles & runs with FAST_LOCK

Andrei Pelinescu-Onciul authored on 08/03/2002 09:40:23
Showing 1 changed files
... ...
@@ -22,7 +22,8 @@ rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24 24
 #listen=192.168.57.33
25
-listen=10.0.0.179
25
+listen=192.168.57.72
26
+#listen=10.0.0.179
26 27
 loop_checks=0
27 28
 # for more info: sip_router -h
28 29
 
Browse code

- created udp_flood_disc (same as udp_flood but uses unconnected sockets)

Andrei Pelinescu-Onciul authored on 01/03/2002 15:49:53
Showing 1 changed files
... ...
@@ -15,14 +15,14 @@ log_stderror=yes # (cmd line: -E)
15 15
 #log_stderror=no	# (cmd line: -E)
16 16
 
17 17
 
18
-children=2
18
+children=4
19 19
 check_via=no     # (cmd. line: -v)
20 20
 dns=on           # (cmd. line: -r)
21 21
 rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24
-listen=192.168.57.33
25
-#listen=10.0.0.179
24
+#listen=192.168.57.33
25
+listen=10.0.0.179
26 26
 loop_checks=0
27 27
 # for more info: sip_router -h
28 28
 
Browse code

- more sun makefile enhacements

Andrei Pelinescu-Onciul authored on 25/02/2002 20:37:15
Showing 1 changed files
... ...
@@ -21,8 +21,8 @@ dns=on           # (cmd. line: -r)
21 21
 rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24
-#listen=192.168.57.33
25
-listen=10.0.0.179
24
+listen=192.168.57.33
25
+#listen=10.0.0.179
26 26
 loop_checks=0
27 27
 # for more info: sip_router -h
28 28
 
Browse code

- introduced the ADAPTIVE_LOCK

Andrei Pelinescu-Onciul authored on 22/02/2002 15:29:41
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ log_stderror=yes # (cmd line: -E)
15 15
 #log_stderror=no	# (cmd line: -E)
16 16
 
17 17
 
18
-children=4
18
+children=2
19 19
 check_via=no     # (cmd. line: -v)
20 20
 dns=on           # (cmd. line: -r)
21 21
 rev_dns=yes      # (cmd. line: -R)
Browse code

- inc'ed shmmem size - up'ed ver. no

Andrei Pelinescu-Onciul authored on 21/02/2002 22:52:33
Showing 1 changed files
... ...
@@ -15,14 +15,14 @@ log_stderror=yes # (cmd line: -E)
15 15
 #log_stderror=no	# (cmd line: -E)
16 16
 
17 17
 
18
-children=2
18
+children=4
19 19
 check_via=no     # (cmd. line: -v)
20 20
 dns=on           # (cmd. line: -r)
21 21
 rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24 24
 #listen=192.168.57.33
25
-#listen=10.0.0.179
25
+listen=10.0.0.179
26 26
 loop_checks=0
27 27
 # for more info: sip_router -h
28 28
 
Browse code

- added fast_locking to tm (and changed lock & unlock call syntax)

Andrei Pelinescu-Onciul authored on 21/02/2002 20:04:53
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@ rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24 24
 #listen=192.168.57.33
25
-listen=10.0.0.179
25
+#listen=10.0.0.179
26 26
 loop_checks=0
27 27
 # for more info: sip_router -h
28 28
 
Browse code

- no dbg

Andrei Pelinescu-Onciul authored on 20/02/2002 23:11:48
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ log_stderror=yes # (cmd line: -E)
15 15
 #log_stderror=no	# (cmd line: -E)
16 16
 
17 17
 
18
-children=8
18
+children=2
19 19
 check_via=no     # (cmd. line: -v)
20 20
 dns=on           # (cmd. line: -r)
21 21
 rev_dns=yes      # (cmd. line: -R)
Browse code

- upped version no - changed all the ROUND* macros

Andrei Pelinescu-Onciul authored on 20/02/2002 21:07:31
Showing 1 changed files
... ...
@@ -21,8 +21,8 @@ dns=on           # (cmd. line: -r)
21 21
 rev_dns=yes      # (cmd. line: -R)
22 22
 #port=5070
23 23
 #listen=127.0.0.1
24
-listen=192.168.57.33
25
-#listen=10.0.0.179
24
+#listen=192.168.57.33
25
+listen=10.0.0.179
26 26
 loop_checks=0
27 27
 # for more info: sip_router -h
28 28
 
Browse code

- inc'ed ver no (this is a stable version!)

Andrei Pelinescu-Onciul authored on 19/02/2002 17:07:31
Showing 1 changed files
... ...
@@ -9,14 +9,13 @@
9 9
 
10 10
 
11 11
 debug=3          # debug level (cmd line: -dddddddddd)
12
-#fork=yes          # (cmd. line: -D)
13
-fork=yes
14
-fork=no
12
+fork=yes          # (cmd. line: -D)
13
+#fork=no
15 14
 log_stderror=yes # (cmd line: -E)
16 15
 #log_stderror=no	# (cmd line: -E)
17 16
 
18 17
 
19
-children=2
18
+children=8
20 19
 check_via=no     # (cmd. line: -v)
21 20
 dns=on           # (cmd. line: -r)
22 21
 rev_dns=yes      # (cmd. line: -R)
Browse code

- sun compile fixes - kill_sem.sh sun update

Andrei Pelinescu-Onciul authored on 15/02/2002 18:12:01
Showing 1 changed files
... ...
@@ -11,7 +11,7 @@
11 11
 debug=3          # debug level (cmd line: -dddddddddd)
12 12
 #fork=yes          # (cmd. line: -D)
13 13
 fork=yes
14
-#fork=no
14
+fork=no
15 15
 log_stderror=yes # (cmd line: -E)
16 16
 #log_stderror=no	# (cmd line: -E)
17 17
 
... ...
@@ -22,8 +22,8 @@ dns=on           # (cmd. line: -r)
22 22
 rev_dns=yes      # (cmd. line: -R)
23 23
 #port=5070
24 24
 #listen=127.0.0.1
25
-#listen=192.168.57.33
26
-listen=10.0.0.179
25
+listen=192.168.57.33
26
+#listen=10.0.0.179
27 27
 loop_checks=0
28 28
 # for more info: sip_router -h
29 29
 
Browse code

- minor gcc-3.0 makefile fixes - f_malloc status clean-up

Andrei Pelinescu-Onciul authored on 15/02/2002 17:02:34
Showing 1 changed files
... ...
@@ -11,7 +11,7 @@
11 11
 debug=3          # debug level (cmd line: -dddddddddd)
12 12
 #fork=yes          # (cmd. line: -D)
13 13
 fork=yes
14
-fork=no
14
+#fork=no
15 15
 log_stderror=yes # (cmd line: -E)
16 16
 #log_stderror=no	# (cmd line: -E)
17 17
 
Browse code

*** empty log message ***

Andrei Pelinescu-Onciul authored on 15/02/2002 00:45:30
Showing 1 changed files
... ...
@@ -1,13 +1,17 @@
1 1
 #
2
-# configuration for TurboSIP testing
2
+# tm test configuration, please don't touch
3
+# - andrei
3 4
 #
4
-# $ID: $
5
+# $Id$
5 6
 #
7
+#
8
+
6 9
 
7 10
 
8 11
 debug=3          # debug level (cmd line: -dddddddddd)
9 12
 #fork=yes          # (cmd. line: -D)
10 13
 fork=yes
14
+fork=no
11 15
 log_stderror=yes # (cmd line: -E)
12 16
 #log_stderror=no	# (cmd line: -E)
13 17
 
... ...
@@ -18,14 +22,15 @@ dns=on           # (cmd. line: -r)
18 22
 rev_dns=yes      # (cmd. line: -R)
19 23
 #port=5070
20 24
 #listen=127.0.0.1
21
-listen=192.168.57.33
25
+#listen=192.168.57.33
26
+listen=10.0.0.179
22 27
 loop_checks=0
23 28
 # for more info: sip_router -h
24 29
 
25 30
 #modules
26 31
 #loadmodule "modules/print/print.so"
27 32
 loadmodule "modules/tm/tm.so"
28
-loadmodule "modules/rr/rr.so"
33
+#loadmodule "modules/rr/rr.so"
29 34
 loadmodule "modules/maxfwd/maxfwd.so"
30 35
 
31 36
 
... ...
@@ -45,19 +50,5 @@ route{
45 50
                    mf_add_maxfwd_header( "10" );
46 51
              };
47 52
 
48
-             #if ( !rewriteFromRoute() )
49
-             #{
50
-                log( " SER : no route found!\n");
51
-               # if ( method=="INVITE" )
52
-               # {
53
-                   #log ("SER : INVITE found - > adding RecordRoute!\n");
54
-                   #addRecordRoute();
55
-                #};
56
-             #}
57
-             #else
58
-             #{
59
-             #   log( "SER : ROUTE found! \n");
60
-             #};
61
-
62 53
              t_relay();
63 54
 }
Browse code

*** empty log message ***

Andrei Pelinescu-Onciul authored on 31/01/2002 22:46:59
Showing 1 changed files
... ...
@@ -5,7 +5,7 @@
5 5
 #
6 6
 
7 7
 
8
-debug=1          # debug level (cmd line: -dddddddddd)
8
+debug=3          # debug level (cmd line: -dddddddddd)
9 9
 #fork=yes          # (cmd. line: -D)
10 10
 fork=yes
11 11
 log_stderror=yes # (cmd line: -E)
... ...
@@ -17,8 +17,8 @@ check_via=no     # (cmd. line: -v)
17 17
 dns=on           # (cmd. line: -r)
18 18
 rev_dns=yes      # (cmd. line: -R)
19 19
 #port=5070
20
-listen=127.0.0.1
21
-#listen=195.37.77.101
20
+#listen=127.0.0.1
21
+listen=192.168.57.33
22 22
 loop_checks=0
23 23
 # for more info: sip_router -h
24 24
 
Browse code

- new test cfgs - makefile w/ gcc-3.0 optimizations

Andrei Pelinescu-Onciul authored on 31/01/2002 19:08:23
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,63 @@
1
+#
2
+# configuration for TurboSIP testing
3
+#
4
+# $ID: $
5
+#
6
+
7
+
8
+debug=1          # debug level (cmd line: -dddddddddd)
9
+#fork=yes          # (cmd. line: -D)
10
+fork=yes
11
+log_stderror=yes # (cmd line: -E)
12
+#log_stderror=no	# (cmd line: -E)
13
+
14
+
15
+children=2
16
+check_via=no     # (cmd. line: -v)
17
+dns=on           # (cmd. line: -r)
18
+rev_dns=yes      # (cmd. line: -R)
19
+#port=5070
20
+listen=127.0.0.1
21
+#listen=195.37.77.101
22
+loop_checks=0
23
+# for more info: sip_router -h
24
+
25
+#modules
26
+#loadmodule "modules/print/print.so"
27
+loadmodule "modules/tm/tm.so"
28
+loadmodule "modules/rr/rr.so"
29
+loadmodule "modules/maxfwd/maxfwd.so"
30
+
31
+
32
+route{
33
+             if ( mf_is_maxfwd_present() )
34
+             {
35
+                   if ( !mf_decrement_maxfwd() )
36
+                   {
37
+                     log("SER : unable to decrement MAX_FORWARD!\n");
38
+                   };
39
+                   if ( mf_is_maxfwd_zero() )
40
+                   {
41
+                     log("SER: MAX FORWARD header is zero\n");
42
+                     drop();
43
+                   };
44
+             }else{
45
+                   mf_add_maxfwd_header( "10" );
46
+             };
47
+
48
+             #if ( !rewriteFromRoute() )
49
+             #{
50
+                log( " SER : no route found!\n");
51
+               # if ( method=="INVITE" )
52
+               # {
53
+                   #log ("SER : INVITE found - > adding RecordRoute!\n");
54
+                   #addRecordRoute();
55
+                #};
56
+             #}
57
+             #else
58
+             #{
59
+             #   log( "SER : ROUTE found! \n");
60
+             #};
61
+
62
+             t_relay();
63
+}