[OpenSIPS-Users] Registration questions
Cinthia Leung
cinthia721 at gmail.com
Mon Feb 14 19:56:18 CET 2011
Hello,
I have a couple of questions regarding registrations and the registrar module. We store the registrations in memory only.
1. When a registration is gone (expired, manually removed...), how long does it stay in the memory before it completely goes away. If I do "opensipsctl ul show", I see those registrations that are supposed to be gone are still in the result, with Expires = "deleted" or "expired" for the next 10+ seconds.
2. I noticed that save() does not update the call-id if everything else (contact, received...) stays the same. Say a device has been registered the whole time. A power blip knocked it out for a short while. The registration in OpenSIPS becomes "expired". The device is now back online and tries to register with a new call-id before the old reg disappears from OpenSIPS. What I'm seeing is that the current registration still has the old call-id. It is causing issues when we use the callid option of registered().
Any comments are appreciated. Thanks.
Cinthia
More information about the Users
mailing list