Enviar por SMS: Discrete inverse and state estimation problems