Hi Bogdan,
thank you for the advice!
Moreover, I had a mistake: I need to use && rarther than ||
I fixed it, and now only valid INVITEs are allowed
(either from VoIP ISPs from address table, or from registered users):
# antiflood
if(!is_myself("$si") && $Rp == 5060) {
if(!is_registered("location", "$fu") && !check_source_address("1"))
{
exit;
}
}
-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users