14 Oct
2015
14 Oct
'15
5:46 p.m.
Hi,
But what happened, if you have different Rules?
you reply with different VLAN values! you need to decide your policies and then write them.... how you DO policy making is down to you....but you dont need to use PERL for various basic checks.... you say your VoIP devices are in a database.... okay..so HOW are they in the DB? if its their MAC address then you could do a single SQL check with unlang and if the return valus is 1, then its in the DB and you can return a different vlan if(){ } else{ } read the unlang pages and the freeradius SQL pages for how to do such constructs. alan