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