We use domain aliases to do multi-tenancy and we have SIP clients to specify the realm that matches the alias you have, and outbound proxy to match the actual proxy server.<div>This will use the profile alias to register, (which then you should be able to see in the sip_registrations table (in columns sip_host and mwi_host). You should then be able to use user/internal/${userpart}@{domain_name}.</div>

<div><br>As for registering users via IP address, you should look into mod_acl</div><div><br></div><div>Frank</div><div><br><div class="gmail_quote">On Thu, Mar 3, 2011 at 3:58 AM, Dmitry Sytchev <span dir="ltr">&lt;<a href="mailto:kbdfck@gmail.com">kbdfck@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;"><div>Hi All<br clear="all"></div><div><br></div><div>I&#39;m trying to setup xml_curl-based directory to provide registration and bridging information from database.</div>

<div><br></div><div>The thing I can&#39;t still reliably handle is domain aliases. I have some domain like &#39;access.freeswitch.test&#39;, but I need to allow users to register via ip address, for example, 1.1.1.1. My scripts answer on REGISTER curl request with directory entry where domain is set to domain user trying to register at, and this works.</div>


<div><br></div><div>But then I need to dial that user. I&#39;m trying to use user/${userpart}%{domainpart} syntax, but I don&#39;t know exactly domain user was registered at. How to tell freeswitch to take in account domain aliases when looking up for sofia contact?</div>


<div>Or, instead, can I make freeswitch to store user in registration database with some primary domain, which I can then specify to bridge(user/) command?</div><div><br></div><div>Thanks in advance!<br></div><font color="#888888"><div>

<br></div>
-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>
</font><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>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><br></div><div>----=======================----</div><div>Frank Park</div><div>Telonium Communications, LLC</div><div><a href="mailto:frank@telonium.com" target="_blank">frank@telonium.com</a></div>

<div><a href="http://www.telonium.com" target="_blank">http://www.telonium.com</a></div><div>Follow Us on Twitter: @GetTelonium</div><div>404-566-8888 x1001 Office</div><div>404-939-4242 Cell</div><div>----=======================----</div>

<div><br></div><br>
</div>