Daniel-Constantin Mierla writes:
What I said that the list of FQDNs for tenants can be specified via alias global params, corex or domain modules to Kamailio, then this patch is not needed, the loose route should do its job. It is irrelevant for what loose route is supposed to do that you need it to interconnect with MS Teams.
I'll give corex alias_subdomains a try and close the pull request if it works as expected.
--- Juha