Restricting logins with Calling-Station-Id in MySQL

Mike Jakubik mikej at rogers.com
Fri May 19 01:24:37 CEST 2006


Kostas Kalevras wrote:
> On Thu, 18 May 2006, Mike Jakubik wrote:
>
>> Hello,
>>
>> I need help restricting users based on the number they called. I am 
>> using Freeradius 1.1.1 and a MySQL backend. I tried adding 
>> Called-Station-Id == "number,number,..." in to radgroupcheck, but it 
>> does not seem to be functioning. Could someone shed some light on the 
>> problem?
>
> Check the checkval module. You can use a := operator in that case

Are you saying that this cant be done by simply putting in 
Called-Station-Id in the database, but only with the checkval module? 
Also, how would one send a message to the users stating that they dialed 
in to the wrong number?





More information about the Freeradius-Users mailing list