-
Notifications
You must be signed in to change notification settings - Fork 631
Description
Is your feature request related to a problem? Please describe.
Now if TCP/TLS connection is lost, contact is still in usrloc database. And we have to wait until expiration (long time) or use OPTIONS ping (rudiment from UDP). And vice versa, if for some reason contact was deleted from usrloc database (e.g. issue #1580 ), TCP/TLS connection still can be alive and phone has no errors, as it is still in REGISTERED state, but all the calls to the phone are dropped by proxy.
Describe the solution you'd like
So it would be nice to destroy TCP/TLS connection if related contact is deleted from usrloc. And delete contact if its' connection was destroyed. So usrloc database will be consistent with alive TCP/TLS connections.
Implementation
- Component:
core,usrlocmodule
Additional context
Of course there can be TCP/TLS connections which has no usrloc contacts - they just should not have this relation and processed as currently.