I don't see a mediasense version that supports 7.1(2) in the compatibility matrix- http://docwiki.cisco.com/wiki/Cisco_MediaSense_Compatibility_Matrix
You're probably going to need to upgrade your CUCM cluster if you want to use MediaSense.
Here's the hardware requirement for virtualizing MediaSense- http://docwiki.cisco.com/wiki/Virtualization_for_Cisco_MediaSense
You may be able to run it on bare metal as long as your specs meet those requirements. It would be much safer to virtualize it though.