Browse code

some more test config files

Jiri Kuthan authored on 18/11/2003 09:31:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,25 @@
0
+/*
1
+ * $Id$
2
+ *
3
+ * test along with nmr.sip
4
+ *
5
+ */
6
+
7
+listen=127.0.0.1
8
+port=6060
9
+fork=no
10
+log_stderror=yes
11
+
12
+loadmodule "/home/srouter/sip_router/modules/sl/sl.so"
13
+loadmodule "/home/srouter/sip_router/modules/textops/textops.so"
14
+
15
+
16
+route {
17
+	if (!search("^(From|f)\:.*sip\:[0-9]+@")) {
18
+		  log(1," From non-nummerical\n");
19
+          sl_send_reply("400", "entry nummerical from check failed\n");
20
+          break;
21
+    };
22
+    log(1," From nummerical\n");
23
+}
24
+