Thanks Olivier. yes previous message has been resolved. Thanks a lot. Let me try your suggestion. -Danny On Thu, Mar 14, 2013 at 2:41 PM, Olivier Beytrison <olivier@heliosnet.org>wrote:
On 14.03.2013 07:28, Danny Kurniawan wrote:
Thanks a lot for your reply.
Yes i got it working. However one more question :
what is the operator used to check if the value is empty ?
if(control:Calling-Station-Id == ""){ reject }
if(!control:Calling-Station-Id) { reject }
this will be true if the attribute doesn't exist.
and btw, on your previous messages :
if (control:Calling-Station-Id != "%{Calling-Station-Id"}) last " is misplaced if (control:Calling-Station-Id != "%{Calling-Station-Id}")
Olivier
--
Olivier Beytrison Network & Security Engineer, HES-SO Fribourg Mail: olivier@heliosnet.org - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Best Regards, Danny