>Sat Jan 10 10:21:47 2009 : Debug: expand: SELECT COUNT(*) >FROM radacct WHERE username = >'%{SQL-User-Name}' AND acctstoptime IS NULL >AND callingstationid <> '{%Calling-Station-Id}' '%{SQL-User-Name}' '{%Calling-Station-Id}' Can you see the typing error now? Ivan Kalik Kalik Informatika ISP