Oh, I have reviewed the Multiple Companies and Multi-tenant docs several times - and will do so again. If I do not force the domains in the sip profile to the desired domains, ${domain_name} equates to 192.168.20.3 (the address of the interface in the server). This obviously causes an issue when a phone is on a different subnet and voicemail is getting passed 1010@192.168.20.3 instead of 1010@192.168.21.3 (or 1010@foo-21). This is likely unrelated: The production machines have multiple network interfaces. However, for testing I am using a virtual machine with an actual address of 192.168.20.3 and an alias of 192.168.21.3. It is an assumption on my part that interface aliases are not an issue. I will probably take a break from this particular issue today so as to get FreeTDM up and running on a future production machine with a Digium card. Matt On 9/26/13 10:12 AM, Cal Leeming [Simplicity Media Ltd] wrote:
It sounds like your approach to multi tenancy has not been correctly implemented.
From what I can tell, you are forcing the domain on the two profiles, perhaps review these docs and ensure this has been done correctly; http://wiki.freeswitch.org/wiki/Multiple_Companies#Enabling_Multiple_Domains
If ${domain}/${domain_name} do not contain the correct values at the correct point in time, then something isn't right with your multi tenancy config.
I know this has already been said but, you really need to have a read over the multi-tenancy docs and compare what's different in your config, it could just be a one minute fix, or it could take you a few days to figure out. That's all part of the fun :)
Cal