Fixed and implemented all *_sms functions except send_sms.
In between