Browse code

kamailio.cfg: catch friendly-scanner if antiflood is enabled

Daniel-Constantin Mierla authored on 14/03/2014 20:02:51
Showing 1 changed files
... ...
@@ -555,6 +555,10 @@ route[REQINIT] {
555 555
 			exit;
556 556
 		}
557 557
 	}
558
+	if($ua =~ "friendly-scanner") {
559
+		sl_send_reply("200", "OK");
560
+		exit;
561
+	}
558 562
 #!endif
559 563
 
560 564
 	if (!mf_process_maxfwd_header("10")) {