Move the SMS from text code from the VTY interface into the gsm_04_11.c code next to the sms_alloc and sms_free.