Mobile agents in telecommunications