Hi Liviu,

I read the tutorial but I don't understood completely how this architecture work. I Have two OpenSIPs instances, each one with his IP. I add user 1000 and user 1001 on both instances so the user can choose which OpenSIPs use to register. How USRLOC use_domain parameter is obligatory on federated cluster, each user can be reached only using user@OpenSIPsIP so if I call from user 1000 (registered on first OpenSIPs), user 1001 registered on the second OpenSIPs, the call fail because the IP present in the AOR is different.

With your solution I have to create opensips-cluster domain and configure two A record with two OpenSIPs Public IP; then create the users using this domain and configure the devices with the outbound proxy parameter, right?

is it the only solution to achieve federated cluster location?

Thank you

Regards

---
I'm SoCIaL, MayBe

On 6/27/19 08:42, Liviu Chircu wrote:
Hi Social,

From what I understand, you are registering your devices to 1000@IP_A and 1001@IP_B, respectively.  If this is the case, please have them register to 1000@opensips-cluster and 1001@opensips-cluster, and point their "Outbound Proxy" settings to IP_A and IP_B, respectively.

Hope this helps.  If you haven't read the tutorial [1], I strongly suggest you do so :)

Cheers,

[1]: https://opensips.org/Documentation/Tutorials-Distributed-User-Location-Federation

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 27.06.2019 01:10, Social Boh wrote:
Hello list,

I really don't understood how this configuration work.

I would like to configure two OpenSIPs instances to share data about registered users but I can't because when from extension 1000 registered on first Opensips call extension 1001 Registered on the second OpenSIPs, OpenSIPs search in the MongoDB a AOR with the same IP of the first OpenSIPs; this because use_domain parameter of usrloc module have to be = 1

So, How have I to use this configuration? balancing DNS records for the same domain?

Thank you

Regards


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to