External SIP media being told internal IP of PBX

There have recently been three other threads describing a similar problem; I suspect that there may be a pjsip-related bug common to all of them. Unfortunately, I’m failing to find one of the threads. The others are