SDPII-177 - changes for sms_template