Your HR20 receiver is either set to RF mode or the alternate IR codeset 00003, in either case the sony remote using code 3214 won't work. For the sony remote to work your receiver has to be set for IR, and using the default codeset 00001.
You'll have to use the front panel keys to get the receiver out RF mode, or set to Directv(00001) codeset.
You'll have to use the front panel keys to get the receiver out RF mode, or set to Directv(00001) codeset.