Module: kamailio
Branch: master
Commit: 454c4653409a69ef115de5ee748524d36e147246
URL:
https://github.com/kamailio/kamailio/commit/454c4653409a69ef115de5ee748524d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-11-23T10:10:55+01:00
etc/kamailio.cfg: split to filter on both friendly and scanner
- some scanning scripts use a different format for the user agent
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/454c4653409a69ef115de5ee748524d…
Patch:
https://github.com/kamailio/kamailio/commit/454c4653409a69ef115de5ee748524d…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 29af152df7..2cf02d995b 100644
--- a/etc/kamailio.cfg
+++ b/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;