<div dir="ltr">You can use the <div>alias=udp:myglobaldomain:5060</div><div><br></div><div>to use a single domain, and direct the users to their closest ip.</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=81b960a6-9f25-4626-9cc1-ef7e787df6e7"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
<br><div class="gmail_quote">On Fri, Jun 9, 2017 at 1:59 AM, 赵国杰 <span dir="ltr"><<a href="mailto:zhaoguojie2010@163.com" target="_blank">zhaoguojie2010@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hello David,<br>    I want the user to register to the kamailio server which is closest to the user. Each user(aka subscriber) has a unique domain, but my kamailio servers have 10 different domains which are their public ip. Let's say, based on user's ip, the closest kamailio server's domain is 35.185.3.4. I can use the one account which has the domain 35.185.3.4 to register to that kamailio server. I don't think I can do that with just 1 account. If i'm wrong, please tell me the write way.<br><br>Thanks<br>Jesse<br></div><div><div class="h5"><div id="m_-4770366159232173140divNeteaseMailCard"></div><br>在 2017-06-08 22:46:33,"David Villasmil" <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.<wbr>com</a>> 写道:<br> <blockquote id="m_-4770366159232173140isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">Sorry, i have to ask: why not just 1 account for all servers? There are many solutions to replicate the dbs, share the dbs amongst all kamailios, etc... just wondering <br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 8, 2017 at 8:42 AM <a href="mailto:zhaoguojie2010@163.com" target="_blank">zhaoguojie2010@163.com</a> <<a href="mailto:zhaoguojie2010@163.com" target="_blank">zhaoguojie2010@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
    I have 10 kamailio servers across the world. Each of them has a public ip which is also their SIP DOMAIN. When a user register on my service, I'd use their username and password to generate 10 sip accounts, one for each kamailio server so that they can register to any of them.  So for each user I will have to insert 10 records in the subscriber table. Is there a better way to do this?<br>
<br>
Cheers<br>
Jesse<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>