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)