[SR-Users] Replace old registration record with new one while keeping single AOR per contact

Aqs Younas aqsyounas at gmail.com
Sun Jan 29 21:11:24 CET 2017


Thank You for your time. I figured it out later.
Another question can i remove a specific contact from kamailio with
db_mode=2 whereas max contacts per AOR set to 2 or replace only a specific
contact in this case?


On Mon, Jan 30, 2017 at 12:59 AM Federico Cabiddu <
federico.cabiddu at gmail.com> wrote:

> Hi,
> you can use the flag "0x04" when calling save():
> http://www.kamailio.org/docs/modules/4.4.x/modules/registrar.html#registrar.f.save
>
> Regards,
>
> Federico
>
>
> On 28 Jan 2017 20:13, "Aqs Younas" <aqsyounas at gmail.com> wrote:
>
> Greetings list,
> I want to keep single AOR per contact. If new regitration comes i want to
> replace the old record with new.
> Suppose User Alice registers from device A and after certain time it try
> to register from device B. I want Registration from device B to replace A.
> Any pointer is mush appreciated.
>
> Cheers,
> Aqs
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170129/462ca3fb/attachment.html>


More information about the sr-users mailing list