Record only the agent side of conversation

I don’t suppose anyone knows of a trick to just retain only the agent side of the conversation (not customer side) of a call recording? As I understand it, asterisk records both sides independently then mixes it together once the call is completed?

Probably best ascertained by perusing the Asterisk source code. It’s definitely an Asterisk-level question.

I know I’ve seen this question asked on Asterisk fora before, but I don’t remember ever seeing a definitive answer.