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