I've stayed in hotels which had this service. They used a custom software solution which integrated with the hotel's billing system, which was integrated with the television set and remote. I'm sure commercial packages exist for this now, which you could just buy. They probably offer consulting services for installation and support, too. Wouldn't know where to look, though, except for the advertising pages of hotel-industry trade magazines.
_________________________
Tony Fabris