[SR-Users] Single session start

Daniel Tryba d.tryba at pocos.nl
Mon Nov 12 12:14:10 CET 2018


On Mon, Nov 12, 2018 at 09:59:10AM +0100, Jos?? Antonio Guti??rrez Delgado wrote:
> Hi, I would like to know if it is possible to make the last register of a
> user the active register and if possible the only one.
> I'm with an Android application and sometimes I can not deregister properly
> before the new registration, for example when the network changes, so there
> are times when the hanging signals do not work correctly when there is more
> than one register for a user.
> Is it possible to avoid that there is more than one register for a user? Is
> it possible to configure the last register to delete the previous ones or
> to be a single register?
> Thanks in advance and I await your answers.

Take a look at the second argument for save()

https://www.kamailio.org/docs/modules/5.1.x/modules/registrar.html#registrar.f.save
Set it to "0x04" to override any other location.




More information about the sr-users mailing list