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,40 +0,0 @@
1
-debug=9          # debug level (cmd line: -dddddddddd)
2
-log_stderror=yes # (cmd line: -E)
3
-check_via=yes     # (cmd. line: -v)
4
-dns=on           # (cmd. line: -r)
5
-rev_dns=yes      # (cmd. line: -R)
6
-fork=no          # (cmd. line: -D)
7
-port=5080
8
-listen=192.168.99.100
9
-loop_checks=1
10
-# for more info: sip_router -h
11
-
12
-#modules
13
-loadmodule "modules/print/print.so"
14
-#loadmodule "modules/tm/tm.so"
15
-
16
-route{
17
-	if ( t_lookup_request()) {
18
-		if ( method=="ACK" )	{
19
-			t_release();
20
-			forward(195.37.77.100, 5090 );
21
-# once it supports ACK too
22
-#			t_forward(195.37.77.100, 5090 );
23
-		} else {
24
-			t_retransmit_reply();
25
-		};
26
-	} else {
27
-		if (method=="ACK") {
28
-			forward(195.37.77.100, 5090 );
29
-		} else {
30
-			t_add_transaction();
31
-			if (method=="CANCEL") {
32
-				t_send_reply( "200", "glad to cancel");
33
-			} else {
34
-				t_send_reply("100", "trying -- your call is important to us");
35
-			};
36
-			t_forward("195.37.77.100", "5090" );
37
-		};
38
-	};
39
-		
40
-}
Browse code

performance and bug fixes

Jiri Kuthan authored on 07/01/2002 04:39:49
Showing 1 changed files
... ...
@@ -1,4 +1,4 @@
1
-debug=2          # debug level (cmd line: -dddddddddd)
1
+debug=9          # debug level (cmd line: -dddddddddd)
2 2
 log_stderror=yes # (cmd line: -E)
3 3
 check_via=yes     # (cmd. line: -v)
4 4
 dns=on           # (cmd. line: -r)
... ...
@@ -11,7 +11,7 @@ loop_checks=1
11 11
 
12 12
 #modules
13 13
 loadmodule "modules/print/print.so"
14
-loadmodule "modules/tm/tm.so"
14
+#loadmodule "modules/tm/tm.so"
15 15
 
16 16
 route{
17 17
 	if ( t_lookup_request()) {
Jiri Kuthan authored on 08/12/2001 02:29:14
Showing 1 changed files
... ...
@@ -1,4 +1,4 @@
1
-debug=9          # debug level (cmd line: -dddddddddd)
1
+debug=2          # debug level (cmd line: -dddddddddd)
2 2
 log_stderror=yes # (cmd line: -E)
3 3
 check_via=yes     # (cmd. line: -v)
4 4
 dns=on           # (cmd. line: -r)
... ...
@@ -17,7 +17,9 @@ route{
17 17
 	if ( t_lookup_request()) {
18 18
 		if ( method=="ACK" )	{
19 19
 			t_release();
20
-			t_forward("195.37.77.100", "5090" );
20
+			forward(195.37.77.100, 5090 );
21
+# once it supports ACK too
22
+#			t_forward(195.37.77.100, 5090 );
21 23
 		} else {
22 24
 			t_retransmit_reply();
23 25
 		};
... ...
@@ -27,7 +29,6 @@ route{
27 29
 		} else {
28 30
 			t_add_transaction();
29 31
 			if (method=="CANCEL") {
30
-				log("SER: new CANCEL\n");
31 32
 				t_send_reply( "200", "glad to cancel");
32 33
 			} else {
33 34
 				t_send_reply("100", "trying -- your call is important to us");
Browse code

new config files

Jiri Kuthan authored on 07/12/2001 03:28:29
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,39 @@
1
+debug=9          # debug level (cmd line: -dddddddddd)
2
+log_stderror=yes # (cmd line: -E)
3
+check_via=yes     # (cmd. line: -v)
4
+dns=on           # (cmd. line: -r)
5
+rev_dns=yes      # (cmd. line: -R)
6
+fork=no          # (cmd. line: -D)
7
+port=5080
8
+listen=192.168.99.100
9
+loop_checks=1
10
+# for more info: sip_router -h
11
+
12
+#modules
13
+loadmodule "modules/print/print.so"
14
+loadmodule "modules/tm/tm.so"
15
+
16
+route{
17
+	if ( t_lookup_request()) {
18
+		if ( method=="ACK" )	{
19
+			t_release();
20
+			t_forward("195.37.77.100", "5090" );
21
+		} else {
22
+			t_retransmit_reply();
23
+		};
24
+	} else {
25
+		if (method=="ACK") {
26
+			forward(195.37.77.100, 5090 );
27
+		} else {
28
+			t_add_transaction();
29
+			if (method=="CANCEL") {
30
+				log("SER: new CANCEL\n");
31
+				t_send_reply( "200", "glad to cancel");
32
+			} else {
33
+				t_send_reply("100", "trying -- your call is important to us");
34
+			};
35
+			t_forward("195.37.77.100", "5090" );
36
+		};
37
+	};
38
+		
39
+}