Invia SMS: Optimal control and estimation