It would be much easier if MT improves SMS tool, http://forum.mikrotik.com/t/sms-tool-improvements/163144/1