STOCKHOLM (Reuters) - Telecom equipment maker Ericsson said it had struck a deal to buy Microsoft Corp's Mediaroom IPTV business, which makes software used by phone companies to deliver television over the Internet.