[OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB
razvan at opensips.org
Fri Jan 13 03:54:43 EST 2017
Then simply reverse the IP check logic and do it after the user is
On 01/11/2017 01:15 PM, maatohewetbi wrote:
> Yes, but I want to check sip login first, not an IP. Here is ny plan, what I
> want to do:
> - store IP, login in one table (a new on or existing one) - there will be
> IP and SIP logins.
> When a client make a registration, my script should check if this login is
> in table, if yes - then check IP, if it matches - allow a registration, if
> not - send 403 and exit. There will be another case, when a SIP login is not
> in this table - just allow registration without checking an IP.
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Registrar-with-IP-authentication-selecting-variables-from-DB-tp7605514p7605516.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
> Users mailing list
> Users at lists.opensips.org
More information about the Users