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

test: Remove SVN ID's

Olle E. Johansson authored on 07/03/2015 19:43:49
Showing 1 changed files
... ...
@@ -1,6 +1,5 @@
1 1
 # forwarding to a fixed non-responding destination
2 2
 #
3
-# $Id$
4 3
 #
5 4
 
6 5
 debug=9          # debug level (cmd line: -dddddddddd)
Browse code

performance and bug fixes

Jiri Kuthan authored on 07/01/2002 04:39:49
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,51 @@
1
+# forwarding to a fixed non-responding destination
2
+#
3
+# $Id$
4
+#
5
+
6
+debug=9          # debug level (cmd line: -dddddddddd)
7
+log_stderror=yes # (cmd line: -E)
8
+check_via=yes     # (cmd. line: -v)
9
+dns=on           # (cmd. line: -r)
10
+rev_dns=yes      # (cmd. line: -R)
11
+fork=no          # (cmd. line: -D)
12
+port=5080
13
+#listen=127.0.0.1
14
+listen=192.168.99.100
15
+loop_checks=1
16
+# for more info: sip_router -h
17
+
18
+#modules
19
+loadmodule "modules/print/print.so"
20
+#loadmodule "modules/tm/tm.so"
21
+
22
+route{
23
+	if ( t_lookup_request()) {
24
+		if ( method=="ACK" )	{
25
+			t_release();
26
+#			forward(195.37.77.100, 5090 );
27
+			forward(195.37.78.146, 5030 );
28
+# once it supports ACK too
29
+#			t_forward(195.37.77.100, 5090 );
30
+		} else {
31
+			t_retransmit_reply();
32
+		};
33
+		t_unref();
34
+	} else {
35
+		if (method=="ACK") {
36
+#			forward(195.37.77.100, 5090 );
37
+			forward(195.37.78.146, 5030 );
38
+		} else {
39
+			t_add_transaction();
40
+			if (method=="CANCEL") {
41
+				t_send_reply( "200", "glad to cancel");
42
+			} else {
43
+				t_send_reply("100", "trying -- your call is important to us");
44
+			};
45
+#			t_forward("195.37.77.100", "5090" );
46
+			t_forward("195.37.78.146", "5030" );
47
+			t_unref();
48
+		};
49
+	};
50
+		
51
+}