[OpenSIPS-Users] uac_registrant clustering

Ovidiu Sas osas at voipembedded.com
Mon Mar 18 13:31:40 EDT 2019


The new feature is available in trunk.
To force a record to perform unique binding, simply add the following
two binding params to the record:
 * reg-id
 * +sip.instance

An example: ;reg-id=1;+sip.instance="<urn:uuid:11111111-AABBCCDDEEFF>"

Regards,
Ovidiu Sas


On Wed, Mar 6, 2019 at 4:20 PM Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>
> Hi Alexey,
>
> There is work in progress for that - we added cluster sharing-tags
> support in the module, Ovidiu still has to do some magic in the module
> to trigger the register / un-register when the tag changes state.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>    https://www.opensips-solutions.com
> OpenSIPS Summit 2019
>    https://www.opensips.org/events/Summit-2019Amsterdam/
>
> On 03/06/2019 10:01 AM, Alexey Kazantsev via Users wrote:
> > Hi list!
> >
> > Assuming that we have a cluster of:
> >   - 2 OpenSIPS nodes
> >   - 2 RTPEngines (each one on each OpenSIPS node)
> >   - separate Redis server for RTPEngines
> >   - Keepalived for Virtual IP
> >   - each OpenSIPS is configured to listen (I mean SIP traffic) on Virtual IP
> >
> > My results after some research:
> >
> >    When the node becomes backup, the Virtual IP is moved to Active one.
> > So, backup OpenSIPS does not have a working interface.
> >    In such a situation it does not send REGISTER messages (so, it's OK!),
> > and the 'opensipsctl fifo reg_list' command shows this:
> >
> > root at deb-osips2:/etc/opensips# opensipsctl fifo reg_list
> > AOR:: sip:793xxxxyyyy at xxfon.ru expires=180
> >          state:: REGISTER_TIMEOUT_STATE
> >          last_register_sent:: Wed Mar  6 12:46:00 2019
> >          registration_t_out:: Wed Mar  6 12:48:01 2019
> >          registrar:: sip:zzz.zzz.zzz.35
> >          binding:: sip:793xxxxyyyy at xxx.xxx.xxx.xxx
> >
> > And there's no any trash in log (which is also good). I changed
> > the log_level up to its maximum value.
> >
> > -----------------------------------------------
> > BR, Alexey
> > http://alexeyka.zantsev.com/
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


--
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list