TripEnglish is right, the most elegant solution is the gateway especially if you are using the wonderful Crestron products.
For small systems we have used Control4 to operate B&O products via ir on occasion and it works well even letting us operate the BeoSytem3 via the iPhone. We find this is much more cost effective and time efficient for a one room set up, but for reliable, elegant multiroom the gateway is, IMHO, is the only way
Most of the HEX ir codes are readily available on remote central.
Have a look there if you are still missing some send me a PM.