Hello,

 

you can e.g. with flag 0x04 in the save() enforce only one registration per AOR.

 

https://www.kamailio.org/docs/modules/5.4.x/modules/registrar.html#registrar.f.save

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Maharana, Kanhu Charana
Sent: Tuesday, February 23, 2021 10:05 AM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] regarding the kamailio.cfg

 

Hi,

                We are getting some  issue in the in sip registration.

                The scenario is like.

                                Device SIP registration successful with kamalio.

                                Device  got reboot abruptly.

                                When the device got power and switched on, device sent a sip registration again.

                                This time the registration is failing in the kamalio.

               

                Is there any way to handle it, if the registration request received for a device which is already registered, kamalio should release the old context and start a fresh registration.

 

Regards

kanhu