Realms based on called-station-id
    Herwin Weststrate 
    herwin at quarantainenet.nl
       
    Fri Jul 25 09:47:40 CEST 2014
    
    
  
On 24-07-14 19:45, Tim King wrote:
> I am trying to direct users on the same nas to different realms based on
> the called-station-id I have tried the following wtihout success.  if
> ("%{Called-Station-Id}") == "6165551212" { update
> control{Proxy-To--Realm == myrealm}} Can anyone see what is wrong wtih
> the syntax in that?
Beside the newlines that are really required in unlang: move the ")" so
in looks like this:
if ("%{Called-Station-Id}" == "6165551212")
-- 
Herwin Weststrate
    
    
More information about the Freeradius-Users
mailing list