Hi, Stefan!
Are you saying that the Contacts "leak" in the database (they are never
deleted), or that they are not deleted immediately after the client is
deregistering (but they are a bit later)?
What is the db_mode setting[1] you are using for the usrloc module?
Also, note that the Contacts might still be present in the database
after they are deleted, but with a Deleted state. If that's the case,
this is perfectly fine.
[1] http://www.opensips.org/html/docs/modules/2.3.x/usrloc.html#idp5620912
Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 10/09/2017 11:57 AM, Stefan Tobé wrote:
Hi there,
I noticed that opensips 2.2.5-1 intermittently does NOT flush the
contact when the client is deregistering.
It is reproducable with multple sip clients. opensips 2.3 also suffers
from this issue.
When I check the mysql database backend I can see that the entry is
table opensips.location is not consistently deleted.
It works for several times and the subsequently it does not flush the
contact showing two bindings the next time the client is registered.
I can unfortunately not monitor the sql queries because opensips is
using tls for secure transmission.
I use mysql as backend and the config is attached as well as the local
wireshark trace I took
--
mvg
Stefan Tobé
PM Factory B.V.
Bolderweg 2
1332 AT Almere
tel: 06 21 26 59 68
email: [email protected] <mailto:[email protected]>
PGP public key: click here to download
<https://drive.google.com/file/d/0Bzu42C2IZ1uMNDYzVnM2dkppRVE/view?usp=sharing>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users