sagar malam writes:
I am using the usrloc module to store registrations. I
could not find any
way to remove stale registrations before expires time. Most of the
registrations are mobile app so they wont run in background to save battery
of phone hence we end up having lots of registrations in usrloc which were
not removed because app was killed in background by OS without letting it
send unregister request.
There are apps (e.g. baresip) that run as foreground service to avoid
being killed and that don't consume lots of battery.
Is there any way to remove stale registrations before
expires time from
usrloc ?
There is ul.rm_contact rpc command.
-- Juha