[SR-Users] Calling a user registered on a different kamailio
Joey Golan
joeygo at gmail.com
Thu Sep 24 11:48:25 CEST 2020
Hi Daniel,
Yes, the TLS connection is terminated to kamailio.
I can have multiple kamailio instances (not limited to two).
I managed to get some progress and establish the call but the ACK is not
reaching its destination.
I attached a PNG that shows the sequence and what I'm doing in kamailio.
any help would be appreciated.
Thanks
Joey.
On 23 Sep 2020, 11:29 +0300, Daniel-Constantin Mierla <miconda at gmail.com>,
wrote:
Hello,
if tls connection from client is terminated to Kamailio, then a phone can
be reachable only via the Kamailio that accepted its connection. You can
add local path to the registration and then enable:
*
https://www.kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.path_check_local
Now, just some different ideas to explore: if you just have only two
Kamailio systems and do not expect more, you can skip replication and just
route to the other Kamailio if lookup() location returns false for traffic
coming from endpoints. If traffic is coming from the other Kamailio, return
404. This works fine and can be simpler approach if there is a single phone
per user account. In case there can be many phones per user account, then
after lookup location add a branch with the address of the other Kamailio.
Cheers,
Daniel
On 23.09.20 09:07, Joey Golan wrote:
Hello,
I’m trying to make a call between 2 users registered (TLS) on two different
kamailio instances behind haproxy with NAT handling.
UE1 is registered to kamailio1
UE2 is registered to kamailio2
DMQ and dmq_usrloc are enabled so each kamailio can see all registered
users.
What else do I need to do in order to make it work properly?
Thanks,
Joey.
_______________________________________________
Kamailio (SER) - Users Mailing
Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda --
www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200924/b22575c4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Call between users registered on different kamailio servers. NAT Handling is done for both UEs on the Kamailio that received the first INVITE.png
Type: image/png
Size: 59731 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200924/b22575c4/attachment-0001.png>
More information about the sr-users
mailing list