Queue not logging transferred calls, found the reason. Workarounds?

Sorry for reviving this post, but I thought it was better than creating a new one.

I think I didn’t understand what you said here jColp, how could I “optimize” a channel?
My scenario is that realtime agents with interface local/xxxx@context don’t have their transfers logged, but if I manually insert an agent with interface PJSIP/xxxx, it’s transfer does get stored, but I really need a context for keeping control in my dialplan before dialing the agents.