It's been a long while since I used MATE but would Transforms help here?
Maybe by adding a P-RC-KEY to the call legs that don't have it (by setting P-RC-KEY to the value of leg A's Call-ID)?