Hi, Iam trying to do a conditional logic using unlang on the default sites-enabled to see if the Called-Station-Id has myssid. So the logic I am using on default sites is: if ("%{Called-Station-Id}" =~ /myssid/) { update control { Proxy-To-Realm := 'visitors-ssid' } } and i have another site under sites-enabled called visitors-ssid. from the logs, i can see the ssid is there as i have configured on radiusd.conf to show msg_goodpass = "%{Called-Station-Id}" On on visitors-ssid site, i have allowed mschap authentication to a particular domain. somehow from the logs the logic fails, just wondering if Iam on the right path. What i am trying to achieve is based on SSID, authenticate users on different sites rather than all authentication going via inner-tunnel. Grateful if someone has came with the same scenario or managed to implement a similar scenario. Thanks, Vikash