瀏覽代碼

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

Jiri Kuthan 23 年之前
父節點
當前提交
c5b2ba7b86
共有 1 個文件被更改,包括 1 次插入1 次删除
  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");