Bug - transfer call codec problem

In testing I just found this problem.

Imagine you have 3 extensions; A, B and C.

A and B have PCMU and g722.
C only has PCMU.

A calls C.
The call is transcoded and audio is good.

A initiates a transfer to B and hangs up.
B and C are now connected.

Audio is complete garbage now. Sounds like a machine gun. No one can hear the other one.

This is repeatable with exactly the same results each time.
I discovered this by accident because we prefer g722 at home, but have a cordless phone © that doesn’t have g722 natively.