Yes, you can use the check_source() address function[1] just before the
auth block.
[1] http://www.opensips.org/html/docs/modules/2.2.x/permissions#id295007
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 01/11/2017 12:44 PM, maatohewetbi wrote:
Is there any way to make an IP authorization with registrar module? First I
want to authenticate peer with IP, and then allow him to register with
correct login/pass. Or is there any way to select any variable from DB?
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Registrar-with-IP-authentication-selecting-variables-from-DB-tp7605514.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users