[Kamailio-Users] Bind Access To Users to their IPs

Ali Jawad ali.jawad at splendor.net
Wed Sep 24 09:03:52 CEST 2008


Hi Inaki
Thanks for the help, however I only want this for a couple of users and not all users. So I don't know if this will work with your solutions.
Regards

-----Original Message-----
From: users-bounces at lists.kamailio.org [mailto:users-bounces at lists.kamailio.org] On Behalf Of Iñaki Baz Castillo
Sent: 2008-09-23 21:18
To: users at lists.kamailio.org
Subject: Re: [Kamailio-Users] Bind Access To Users to their IPs

El Martes, 23 de Septiembre de 2008, Ali Jawad escribió:
> I want some of my users only to be able to logon through a certain IP, is
> there some ACL mechanism that can be used to do that ? 

No, but you can implement it easily. For example I do it by adding a field 
to "subscriber" table (loading that field in as extra data) containing the 
allowed IP(s).

Later in the script just do a comparision (can be regular comparision).

-- 
Iñaki Baz Castillo

_______________________________________________
Users mailing list
Users at lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Users mailing list