Hello,
instances behind aws network load balancer does not share connections.
If you receive call to 802 on kamailio 1 you have to forward this call to kamailio 2.
For this you can use any database that accessible from both kamailio instances or dmq to
distribute location between instances and forward invite to one where user is registered.
Module dmq_usrloc will not work as it expect that connection is reachable from both
instances.
Michal
On 18 Sep 2023, at 20:06, pra.savaliya1987(a)gmail.com
wrote:
Hello All,
I have two kamailio servers and shared the database between two kamailio.
version: kamailio 5.5.6 (x86_64/linux) .
I have used AWS network load balancer. domain pointed to AWS network load balancer IP
address,AWS Network Load Balancer (NLB) to distribute incoming requests to kamailio
servers. I have two users in same domain(dev.domain.com).
1. 801(a)dev.domain.com --> Registered on kamailio 1
2. 802(a)dev.domain.com --> Registered on kamailio 2
Two call invites have been received, one for extension 801 and another for extension 802.
These call invites will reach kamailio Server 1.
kamailio Lookup the users and send call invite to both the devices. 801 registered user
will get a ring because it is registered from kamailio 1.
but 802 will not get a ring because it's register from kamailio 2.
I can able see kamailio send call invite to the both registered devices using sngrep. but
it not reach to the 802 device. there i no firewalls so far.
also i have took 802 Registered device IP phone logs but there is no Call Invite reach to
the 802 device.
I have also tried by using "dmq" and "dmq_usrloc" module but the same
behavior.
what could be the reason? It will be appreciable if anyone help to resolve the issue.
Thank you in advance!
Pratik Svaliya.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: