[SR-Users] Calling a user registered on a different kamailio
miconda at gmail.com
Thu Sep 24 12:16:02 CEST 2020
the ACK for the 200ok of INVITE is a separate transaction. You should do
record routing and if the ACK is routed with loose routing, just send
out, no transaction check.
On 24.09.20 11:48, Joey Golan wrote:
> 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.
> On 23 Sep 2020, 11:29 +0300, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>>, wrote:
>> 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:
>> 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.
>> On 23.09.20 09:07, Joey Golan wrote:
>>> 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?
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>> Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>> Funding: https://www.paypal.me/dcmierla <https://www.paypal.me/dcmierla>
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users