when the contact is deleted using db_delete_ucontact_ruid (default)
the uldb_attrs_delete is not called leaving the location_attrs with unwanted records
created uldb_attrs_delete_ruid to be called by db_delete_ucontact_ruid
redirected uldb_attrs_delete to uldb_attrs_delete_ruid
also changed the places inside contact where uldb_attrs_delete was called to call new
uldb_attrs_delete_ruid function
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/102
-- Commit Summary --
* usrloc - fix contacts attrs not deleted
-- File Changes --
M modules/usrloc/ucontact.c (80)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/102.patch
https://github.com/kamailio/kamailio/pull/102.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/102