Module: kamailio Branch: master Commit: 8006c3a2637342c21837e5332d3eeb75bb9bf7de URL: https://github.com/kamailio/kamailio/commit/8006c3a2637342c21837e5332d3eeb75...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-01-08T23:18:50+01:00
presence: slot and presentity uri printed in log message
- useful for understanding while deleting subscription from memory fails to find the item
---
Modified: modules/presence/subscribe.c
---
Diff: https://github.com/kamailio/kamailio/commit/8006c3a2637342c21837e5332d3eeb75... Patch: https://github.com/kamailio/kamailio/commit/8006c3a2637342c21837e5332d3eeb75...
---
diff --git a/modules/presence/subscribe.c b/modules/presence/subscribe.c index 172372d..334dc32 100644 --- a/modules/presence/subscribe.c +++ b/modules/presence/subscribe.c @@ -470,7 +470,9 @@ void delete_subs(str* pres_uri, str* ev_name, str* to_tag, unsigned int hash_code= core_hash(pres_uri, ev_name, shtable_size); if(delete_shtable(subs_htable, hash_code, &subs) < 0) { LM_ERR("Failed to delete subscription from memory" - " [%.*s : %.*s / %.*s / %.*s]\n", ev_name->len, ev_name->s, + " [slot: %u ev: %.*s pu: %.*s ci: %.*s ft: %.*s tt: %.*s]\n", + hash_code, pres_uri->len, pres_uri->s, + ev_name->len, ev_name->s, callid->len, callid->s, from_tag->len, from_tag->s, to_tag->len, to_tag->s); }