[OpenSIPS-Users] Presentity record not deleted in database

Klaus Darilion klaus.mailinglists at pernau.at
Wed Dec 22 10:39:10 CET 2010



Am 22.12.2010 03:27, schrieb Duane Larson:
> I am hoping someone can help me with a Presence issue.  I have two Bria
> Clients with XCAP and presence set up.  Each client is able to see the
> others presence.  When I Disable an account on one of the Bria clients
> the other client see's that the user is no longer available (Which is
> how it should be).  The issue I am seeing is that instead of logging the
> user out I am exiting/shutting down the Bria client.  When this happens
> the Bria client shuts down, but the other bria client still thinks that
> the user is availabe.  I can tell that the problem is because the
> Presentity record in the MySQL Presentity table is not removed.  I have
> attached two different NGREP siptraces.  One siptrace is a good trace
> when I log out a user from the Bria client.  The other siptrace is the
> bad trace when I shut down the bria client and the user still appears to
> be available.
> I am pretty sure that Bria is not working correctly when it is being
> shut down and that is why OpenSIPS is not deleting the Presentity
> record.  One of the differences I see when looking at the "Bad
> Logout.txt" and the "Good Logout.txt" is that the "Expires:" time on the
> bad trace shows 3600 seconds, but the good trace shows 0 seconds for the
> "Expires:".
> Any ideas?

I think you are right - seems like a bug in Bria. You should report it, 
and maybe you can reduce the default expires value, then the presentity 
will expire earlier.

regards
klaus



More information about the Users mailing list