<div dir="ltr">The thing that concerns me is that you are forcing the domain in the profile, but then that domain is not appearing in $domain or $domain_name, which indicates you are not setting it properly. Unless I have misunderstood?<div>
<br></div><div>Let us know how you get on!<br><div><br></div><div>Cal</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 4:49 PM, Matt <span dir="ltr">&lt;<a href="mailto:code.name.eric@gmail.com" target="_blank">code.name.eric@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, I have reviewed the Multiple Companies and Multi-tenant docs several<br>
times - and will do so again.<br>
<br>
If I do not force the domains in the sip profile to the desired domains,<br>
${domain_name} equates to 192.168.20.3 (the address of the interface in<br>
the server).<br>
<br>
This obviously causes an issue when a phone is on a different subnet and<br>
voicemail is getting passed <a href="mailto:1010@192.168.20.3">1010@192.168.20.3</a> instead of<br>
<a href="mailto:1010@192.168.21.3">1010@192.168.21.3</a> (or 1010@foo-21).<br>
<br>
This is likely unrelated: The production machines have multiple network<br>
interfaces. However, for testing I am using a virtual machine with an<br>
actual address of 192.168.20.3 and an alias of 192.168.21.3. It is an<br>
assumption on my part that interface aliases are not an issue.<br>
<br>
I will probably take a break from this particular issue today so as to<br>
get FreeTDM up and running on a future production machine with a Digium<br>
card.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Matt<br>
</font></span><div class="im HOEnZb"><br>
On 9/26/13 10:12 AM, Cal Leeming [Simplicity Media Ltd] wrote:<br>
&gt; It sounds like your approach to multi tenancy has not been correctly<br>
&gt; implemented.<br>
&gt;<br>
&gt; From what I can tell, you are forcing the domain on the two profiles,<br>
&gt; perhaps review these docs and ensure this has been done correctly;<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Multiple_Companies#Enabling_Multiple_Domains" target="_blank">http://wiki.freeswitch.org/wiki/Multiple_Companies#Enabling_Multiple_Domains</a><br>
&gt;<br>
&gt; If ${domain}/${domain_name} do not contain the correct values at the<br>
&gt; correct point in time, then something isn&#39;t right with your multi<br>
&gt; tenancy config.<br>
&gt;<br>
&gt; I know this has already been said but, you really need to have a read<br>
&gt; over the multi-tenancy docs and compare what&#39;s different in your<br>
&gt; config, it could just be a one minute fix, or it could take you a few<br>
&gt; days to figure out. That&#39;s all part of the fun :)<br>
&gt;<br>
&gt; Cal<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>