Browse code

examples: moved to misc directory

Daniel-Constantin Mierla authored on 07/12/2016 13:56:54
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,31 +0,0 @@
1
-#
2
-# $Id$
3
-#
4
-# logging example
5
-#
6
-
7
-# ------------------ module loading ----------------------------------
8
-
9
-fork=no
10
-listen=192.168.2.16
11
-log_stderror=yes
12
-debug=3
13
-
14
-
15
-# -------------------------  request routing logic -------------------
16
-
17
-# main routing logic
18
-
19
-route{
20
-	# for testing purposes, simply okay all REGISTERs
21
-	if (method=="REGISTER") {
22
-		log(1, "REGISTER received\n");
23
-	} else {
24
-		log(1, "non-REGISTER received\n");
25
-	};
26
-	if (uri=~"sip:.*[@:]iptel.org") {
27
-		log(1, "request for iptel.org received\n");
28
-	} else {
29
-		log(1, "request for other domain received\n");
30
-	};
31
-}
Browse code

click-to-dial completed

Jiri Kuthan authored on 27/02/2003 20:29:25
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,31 @@
1
+#
2
+# $Id$
3
+#
4
+# logging example
5
+#
6
+
7
+# ------------------ module loading ----------------------------------
8
+
9
+fork=no
10
+listen=192.168.2.16
11
+log_stderror=yes
12
+debug=3
13
+
14
+
15
+# -------------------------  request routing logic -------------------
16
+
17
+# main routing logic
18
+
19
+route{
20
+	# for testing purposes, simply okay all REGISTERs
21
+	if (method=="REGISTER") {
22
+		log(1, "REGISTER received\n");
23
+	} else {
24
+		log(1, "non-REGISTER received\n");
25
+	};
26
+	if (uri=~"sip:.*[@:]iptel.org") {
27
+		log(1, "request for iptel.org received\n");
28
+	} else {
29
+		log(1, "request for other domain received\n");
30
+	};
31
+}