[OpenSIPS-Users] Federated User Location Cluster
Social Boh
social at bohboh.info
Thu Jun 27 09:35:22 EDT 2019
Ben,
justly I'm trying to using clustering functionality bud I don't
understood completely the registration part. On the tutorial (1) appear
a domain but I don't understand how the devices choose in which OpenSIPs
instance register and how I have to add user on the subscriber table of
each OpenSIPs.
Regards.
1)
https://opensips.org/Documentation/Tutorials-Distributed-User-Location-Federation
---
I'm SoCIaL, MayBe
On 6/27/19 08:25, Ben Newlin wrote:
> Social,
>
> It seems like what you want is for the registration to ignore the domain. Why do you say that use_domain has to be enabled? It seems like if you turn it off this would work.
>
> Alternatively, you could use DNS for the domain instead of IP addresses and have the DNS resolve to both OpenSIPS instances, either with SRV if the registering device supports it or with A records. You would not be able to control which specific server each device would register to, but in the long run they should be balanced across both nodes.
>
> Lastly, I believe the usrloc and registration modules have support for the new clustering functionality. I have not used it personally, but I believe it has mechanisms to resolve issues like this.
>
> Ben Newlin
>
> On 6/27/19, 9:16 AM, "Users on behalf of Social Boh" <users-bounces at lists.opensips.org on behalf of social at bohboh.info> wrote:
>
> Any Light, please?
>
> ---
> I'm SoCIaL, MayBe
>
> On 6/26/19 17: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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list