Invia SMS: Notes on logic