Browse Source

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 years ago
parent
commit
454c465340
1 changed files with 1 additions and 1 deletions
  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;