Prechádzať zdrojové kódy

changed @ to [@:] in URI matching to capture REGISTRATIONS w/o username too

Jiri Kuthan 23 rokov pred
rodič
commit
c5b2ba7b86
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      iptel.cfg

+ 1 - 1
iptel.cfg

@@ -57,7 +57,7 @@ route{
 		# address shows up in d-uri of subsequent requests after
 		# having called rewriteFromRoute and we want the requests
 		# to go through our PSTN authorization code
-		if (uri=~"@iptel\.org([;:].*)*" | uri=~"@195\.37\.77\.101([;:].*)*" |
+		if (uri=~"[@:]iptel\.org([;:].*)*" | uri=~"[@:]@195\.37\.77\.101([;:].*)*" |
 			uri=~"@195.37.77.110([;:].*)*" ) {
 			log("Request is for iptel.org\n");