Telstra has endured its worst week in a decade, after a software glitch sent the country’s biggest telco into crisis.