Browse code

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 authored on 23/11/2020 09:10:55
Showing 1 changed files
... ...
@@ -615,7 +615,7 @@ route[REQINIT] {
615 615
 		}
616 616
 	}
617 617
 #!endif
618
-	if($ua =~ "friendly-scanner|sipcli|sipvicious|VaxSIPUserAgent") {
618
+	if($ua =~ "friendly|scanner|sipcli|sipvicious|VaxSIPUserAgent") {
619 619
 		# silent drop for scanners - uncomment next line if want to reply
620 620
 		# sl_send_reply("200", "OK");
621 621
 		exit;