Telecoms defend patents in court