Sms filtering

For Vlad's purposes.