Given a call flowlike the one shown, you could consider using redirects from the registrar rather than passing traffic
through the registrar. I agree that this does very much feel like a place where a B2BUA is appropriate given what may be a very non-standard implementation by another UA. With that said it's fairly cheap and easy to add more kamailio to any environment
- even use alternate ports as needed and run it in a container.
K