浏览代码

etc/kamailio.cfg: split to filter on both friendly and scanner

- some scanning scripts use a different format for the user agent
Daniel-Constantin Mierla 4 年之前
父节点
当前提交
454c465340
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      etc/kamailio.cfg

+ 1 - 1
etc/kamailio.cfg

@@ -615,7 +615,7 @@ route[REQINIT] {
 		}
 	}
 #!endif
-	if($ua =~ "friendly-scanner|sipcli|sipvicious|VaxSIPUserAgent") {
+	if($ua =~ "friendly|scanner|sipcli|sipvicious|VaxSIPUserAgent") {
 		# silent drop for scanners - uncomment next line if want to reply
 		# sl_send_reply("200", "OK");
 		exit;