hi , try to exchange sequece ? > > if (Calling-Station-Id == "%{sql: SELECT mac FROM `lrc_banlist` WHERE >mac='%{Calling-Station-Id}'}") { > update reply{ > Reply-Message := "Hello Hello Hello" > } reject > > } >