Yes, the commands would be as follows:
voice service voip
no allow-connections h323 to h323
exit
Hairpinning is disabled by default. This directly relates to your other question regarding transferring from CCM to an FXS port on CME. I updated that post as well.
Hope this helps. If so, please rate the post.
Brandon