|
@@ -4,6 +4,9 @@
|
|
|
# $Id$
|
|
|
#
|
|
|
|
|
|
+### USRLOC is temporarily commented out as we need forking
|
|
|
+### for Cebit Demo; seek ###XXX
|
|
|
+
|
|
|
|
|
|
debug=9 # debug level (cmd line: -dddddddddd)
|
|
|
fork=no
|
|
@@ -72,7 +75,8 @@ route{
|
|
|
};
|
|
|
# update Contact database
|
|
|
log("REGISTER is authorized, saving location\n");
|
|
|
- save_contact("location");
|
|
|
+ ###XXX save_contact("location");
|
|
|
+ forward( 195.37.77.101, 5061 );
|
|
|
break;
|
|
|
};
|
|
|
|
|
@@ -129,12 +133,15 @@ route{
|
|
|
# if you have passed through all the checks, let your call go to GW!
|
|
|
rewritehostport("195.37.77.110:5060");
|
|
|
} else {
|
|
|
+
|
|
|
+ forward( 195.37.77.101, 5061 );
|
|
|
+
|
|
|
# native SIP destinations are handled using our USRLOC DB
|
|
|
- if (!lookup_contact("location")) {
|
|
|
- log("Unable to lookup contact, sending 404\n");
|
|
|
- sl_send_reply("404", "Not Found");
|
|
|
- break;
|
|
|
- };
|
|
|
+ ###XXX if (!lookup_contact("location")) {
|
|
|
+ ###XXX log("Unable to lookup contact, sending 404\n");
|
|
|
+ ###XXX sl_send_reply("404", "Not Found");
|
|
|
+ ###XXX break;
|
|
|
+ ###XXX};
|
|
|
};
|
|
|
} else {
|
|
|
# outbound requests are allowed only for our users -- we don't
|