Browse code

USRLOC temporarily removed, fwd-ing to CSPS for now

Jiri Kuthan authored on 07/03/2002 18:30:44
Showing 1 changed files
... ...
@@ -4,6 +4,9 @@
4 4
 # $Id$
5 5
 #
6 6
 
7
+### USRLOC is temporarily commented out as we need forking
8
+### for Cebit Demo; seek ###XXX
9
+
7 10
 
8 11
 debug=9          # debug level (cmd line: -dddddddddd)
9 12
 fork=no
... ...
@@ -72,7 +75,8 @@ route{
72 75
 				};
73 76
 				# update Contact database
74 77
 	        		log("REGISTER is authorized, saving location\n");
75
-				save_contact("location");
78
+				###XXX save_contact("location");
79
+				forward( 195.37.77.101, 5061 );
76 80
 				break;
77 81
 			};
78 82
 
... ...
@@ -129,12 +133,15 @@ route{
129 133
 				# if you have passed through all the checks, let your call go to GW!
130 134
 				rewritehostport("195.37.77.110:5060");
131 135
 			} else {
136
+				
137
+				forward( 195.37.77.101, 5061 );
138
+
132 139
 				# native SIP destinations are handled using our USRLOC DB
133
-				if (!lookup_contact("location")) {
134
-					log("Unable to lookup contact, sending 404\n");
135
-					sl_send_reply("404", "Not Found");
136
-					break;
137
-				};
140
+				###XXX if (!lookup_contact("location")) {
141
+				###XXX		log("Unable to lookup contact, sending 404\n");
142
+				###XXX		sl_send_reply("404", "Not Found");
143
+				###XXX		break;
144
+				###XXX};
138 145
 			};
139 146
                 } else {
140 147
 			# outbound requests are allowed only for our users -- we don't