Audiohook - need to turn off for transfers

now running asterisk 13.13.cert1 - since 12.5 audiohook has been deprecated -
how do I not get recordings if calls are transferred ?

This is what the official documentation says

Prior to Asterisk 12, masquerades would occur under all sorts of situations which were hard to predict. In Asterisk 12, masquerades only occur as a result of a small set of operations for which inheriting all audiohooks from the original channel is now safe. So in Asterisk 12.5+, all audiohooks are inherited without needing other controls expressing which audiohooks should be inherited under which conditions.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Function_AUDIOHOOK_INHERIT

If you are using MixMonitor you could use StopMixMonitor AMI action

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_StopMixMonitor