Invia SMS: Theory and algorithms for cooperative systems