[OpenSIPS-Users] Block user from registration

Duane Larson duane.larson at gmail.com
Wed Dec 31 18:22:05 CET 2014


Would you not just do something like this?

If(FriendlyIP && is_method("REGISTER"))
{
                if (t_newtran()) {
                        save("location");
                }

                exit;
}

On Wed, Dec 31, 2014 at 10:22 AM, Satish Patel <satish.txt at gmail.com> wrote:

> Hi,
>
> We have many users using both registration method and IP auth method to
> send calls but i wants if they use IP Auth method then we can disable
> registration method ( just prevention from hacking attack).
>
> I believe registration is only required for incoming calls to find user
> location, right? How do i tell opensips don't accept user registration
> method even opensips challenge for proxy auth. any suggestion?
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141231/ebd4d384/attachment.htm>


More information about the Users mailing list