I'm not sure why this is coming up in this diff - it is all existing code that I don't think I have changed.  I think this is related to the enter_context/exit_context mechanisms, which are all copied from stateful_proxy.  It definitely works, but is a bit subtle because of the interactions with PJSIP.