Queue - Stop recording


I need to be able to stop a recording after a call was transferd from a queue.
If the caller dont want do record, the agant needs to be able to abort it (like press *1). But it does not work, it seems the queue recording has a higher priority than a extension “stop recording” with *1.

Is there a way to stop a recording after a caller was transfered to an agent from a queue which das recording enabled?