25 Dec
2009
25 Dec
'09
7:10 p.m.
I need to ask again for help. So I added this code to Autorize section of Default config file.... it blocks banned users well! But I need to tell them why they got banned so I tried diferent ways to add Reply-Message in the logic Nothing helped me so far...
So maybe some one can tell me how to add reply-message to this logic?
Thank you a lot and Marry Xmas
if (Calling-Station-Id == "%{sql: SELECT mac FROM `banlist` WHERE mac='%{Calling-Station-Id}'}") { reject
update reply { Reply-Message = "Your account has been disabled." }
#reply := "Your account has been disabled."
}
Ivan Kalik