Telecommunication companies have been criticised for taking too long to resolve issues as the industry watchdog urges providers to do better.