sms logic changed sending sms to trg