|
@@ -68,6 +68,15 @@ route{
|
|
|
break;
|
|
|
};
|
|
|
|
|
|
+ # various aliases (might use a database in future)
|
|
|
+ if (uri=~"sip:9040@.*") {
|
|
|
+ setuser("jiri");
|
|
|
+ };
|
|
|
+ # special measure for our US friends
|
|
|
+ if (uri=~"sip:17@") {
|
|
|
+ seturi("sip:[email protected]");
|
|
|
+ };
|
|
|
+
|
|
|
# process requests for iptel.org (note the wildcard in
|
|
|
# the regex end -- that captures URIs which have port
|
|
|
# numbers or parameters in them); also include gateway
|
|
@@ -102,14 +111,6 @@ route{
|
|
|
break;
|
|
|
};
|
|
|
|
|
|
- # various aliases (might use a database in future)
|
|
|
- if (uri=~"sip:9040@.*") {
|
|
|
- setuser("jiri");
|
|
|
- };
|
|
|
- # special measure for our US friends
|
|
|
- if (uri=~"sip:17@") {
|
|
|
- seturi("sip:[email protected]");
|
|
|
- };
|
|
|
|
|
|
# now it's about PSTN destinations through our gateway;
|
|
|
# note that 8.... is exempted for numerical destinations
|