Envoyer par SMS: Stochastic reliability modeling, optimization and applications