Explorar o código

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

Jiri Kuthan %!s(int64=23) %!d(string=hai) anos
pai
achega
c5b2ba7b86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");