Browse code

Jabber config moved to etc

Jiri Kuthan authored on 04/07/2002 11:43:44
Showing 4 changed files
... ...
@@ -1,8 +1,8 @@
1
-INVITE sip:p2@unresolveable.xx SIP/2.0
1
+OPTIONS sip:henrxx@iptel.com SIP/2.0
2 2
 Via: SIP/2.0/UDP 195.37.77.101:9
3 3
 From: "GMD FOKUS iptlab" <sip:jiri@iptel.org>;tag=b96b0300ed30f1286-2f5d
4 4
 Call-ID: b96b0300-88d30f-66da-63aa@195.37.78.190
5
-CSeq: 101 INVITE
5
+CSeq: 101 OPTIONS
6 6
 To: sip:tester@iptel.org
7 7
 Expires: 180
8 8
 Max-Forwards:  9
... ...
@@ -1,11 +1,11 @@
1 1
 REGISTER sip:iptel.org SIP/2.0
2
-Via: SIP/2.0/UDP 195.37.77.101:9
2
+Via: SIP/2.0/UDP 195.37.77.103:9
3 3
 From: sip:shawn.lipman@iptel.org;tag=7618c7618^
4
-To: sip:blb@iptel.org;tag=x
4
+To: sip:blb@iptel.org;tag
5 5
 Call-Id: 1023638012-reg@24.114.138.250
6
-Cseq: 64 REGISTER
6
+Cseq: 61 REGISTER
7 7
 Contact: <sip:shawn.lipman@24.114.138.250:5061;LINEID=bf07b2caa09525f72d4364642a0e287d>
8
-Expires: 3600
8
+Expires: 3
9 9
 Content-Length: 0
10 10
 Accept-Language: en
11 11
 Supported: sip-cc, sip-cc-01, timer
... ...
@@ -1,4 +1,5 @@
1 1
 REGISTER sip:iptel.org:5060 SIP/2.0
2
+Via: SIP/2.0/UDP 195.37.77.181:9
2 3
 From: "Jan Janak" <sip:blb@iptel.org>
3 4
 To: "Jan_Janak" <sip:blb@iptel.org>
4 5
 Call-ID: aa@195.37.78.208
5 6
deleted file mode 100644
... ...
@@ -1,74 +0,0 @@
1
-#
2
-# configuration for Jabber module testing
3
-#
4
-# $ID: daniel $
5
-#
6
-
7
-
8
-debug=9          # debug level (cmd line: -dddddddddd)
9
-#fork=yes          # (cmd. line: -D)
10
-fork=no
11
-log_stderror=yes  # (cmd line: -E)
12
-#log_stderror=no   # (cmd line: -E)
13
-
14
-
15
-children=4
16
-check_via=no      # (cmd. line: -v)
17
-dns=off           # (cmd. line: -r)
18
-rev_dns=off       # (cmd. line: -R)
19
-#port=5070
20
-#listen=10.0.0.179
21
-#listen=192.168.57.33
22
-loop_checks=0
23
-# for more info: sip_router -h
24
-
25
-#modules
26
-loadmodule "modules/print/print.so"
27
-loadmodule "modules/textops/textops.so"
28
-loadmodule "modules/tm/tm.so"
29
-
30
-#loadmodule "modules/rr/rr.so"
31
-loadmodule "modules/maxfwd/maxfwd.so"
32
-loadmodule "modules/sl/sl.so"
33
-loadmodule "modules/mysql/mysql.so"
34
-#loadmodule "modules/dbexample/dbexample.so"
35
-loadmodule "modules/jabber/jabber.so"
36
-#loadmodule "modules/cpl/cpl.so"
37
-#loadmodule "modules/pike/pike.so"
38
-
39
-modparam("jabber","contact","sip:bat.iptel.org:5080")
40
-modparam("jabber","jaddress","bat.iptel.org")
41
-modparam("jabber","jport",5222)
42
-modparam("jabber","workers",2)
43
-modparam("jabber","max_jobs",10)
44
-
45
-#modparam("pike","timeout",30)
46
-
47
-route{
48
-	sl_filter_ACK();
49
-
50
-	if ( !mf_process_maxfwd_header("10") )
51
-	{
52
-		sl_send_reply("483","To Many Hops");
53
-		drop();
54
-	};
55
-
56
-	if ((search("To:.*@icq\.gorn\.fokus\.gmd\.de")) || (search("To:.*@sms\.gorn\.fokus\.gmd\.de")) || (search("To:.*@msn\.gorn\.fokus\.gmd\.de")))
57
-	{
58
-		if (method=="MESSAGE")
59
-		{
60
-			log("MESSAGE received -> sending as JABBER\n");
61
-			if (jab_send_message())
62
-			{
63
-				sl_send_reply("202","Accepted");
64
-			}else{
65
-				sl_send_reply("502","Bad gateway");
66
-			};
67
-		}else{
68
-			log("NON_Message request received for JABBER gateway->dropt!\n");
69
-			sl_send_reply("501","Not implemented");
70
-		};
71
-		break;
72
-	};
73
-	forward(uri:host,uri:port);
74
-}