Module: sip-router
Branch: master
Commit: ef86e60ef178fc451a69c5fe527fcd897fe0573b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ef86e60…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Mar 14 21:02:51 2014 +0100
kamailio.cfg: catch friendly-scanner if antiflood is enabled
---
etc/kamailio.cfg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 4c982cb..73079db 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -555,6 +555,10 @@ route[REQINIT] {
exit;
}
}
+ if($ua =~ "friendly-scanner") {
+ sl_send_reply("200", "OK");
+ exit;
+ }
#!endif
if (!mf_process_maxfwd_header("10")) {