<div dir="ltr">I'm using Amason's Route 53 DNS service with latency.<div>So my A-records contains 2 IP's and Amazon keeps track of latency so it will deliver the correct IP for a given user.</div><div><br></div><div>These two IP contains identical installations of Kamailio - which share the same postgresql database.</div><div>I've set usrloc db_mode = 3 so there's no cache in location of users in memory...</div><div><br></div><div>But NAT seems to be an issue even though WITH_NAT is enabled :(</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 4:37 PM, Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thursday 26 November 2015 16:00:09 Michael Nielsen wrote:<br>
> I've setup a single domain, <a href="http://sip.my-domain.com" rel="noreferrer" target="_blank">sip.my-domain.com</a>, with latency responds to the<br>
> 2 servers.<br>
><br>
> So a user will always land on the server with the fastest responds in a<br>
> respective area of the world.<br>
<br>
</span>What does this mean? How do you do this?<br>
<span class=""><br>
> However, it seems as if 2 users are registered on different Kamailio<br>
> servers - even though they share the same database - they cannot call each<br>
> other?<br>
><br>
> Have I misunderstood something?<br>
<br>
</span>If the endpoints communicate directly to a sipserver and they have different<br>
adresses, a router/firewall/nattranslation will not match the traffic from any<br>
other adres to the translated port.<br>
<br>
You could try branching to the other kamailio instance on failure to solve<br>
this.<br>
<br>
Or you could try to use the socket column in the location table to figure out<br>
if the invite needs to be handled localy.<br>
<br>
Or you might be able to abuse Path on registration (by inserting a Path header<br>
manually)<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>