[sr-dev] git:master:3b206c86: presence: log when presentity is deleted due to already existing
Phil Lavin
phil.lavin at synety.com
Mon Aug 22 09:40:58 CEST 2016
Module: kamailio
Branch: master
Commit: 3b206c864126a75a00c2c6abe4afed766d278b04
URL: https://github.com/kamailio/kamailio/commit/3b206c864126a75a00c2c6abe4afed766d278b04
Author: Phil Lavin <phil.lavin at synety.com>
Committer: Phil Lavin <phil.lavin at synety.com>
Date: 2016-07-27T11:25:40+01:00
presence: log when presentity is deleted due to already existing
---
Modified: modules/presence/presentity.c
---
Diff: https://github.com/kamailio/kamailio/commit/3b206c864126a75a00c2c6abe4afed766d278b04.diff
Patch: https://github.com/kamailio/kamailio/commit/3b206c864126a75a00c2c6abe4afed766d278b04.patch
---
diff --git a/modules/presence/presentity.c b/modules/presence/presentity.c
index 33947dc..bed8f02 100644
--- a/modules/presence/presentity.c
+++ b/modules/presence/presentity.c
@@ -383,6 +383,8 @@ int delete_presentity_if_dialog_id_exists(presentity_t* presentity, char* dialog
old_presentity.event = presentity->event;
old_presentity.etag = tmp_db_etag;
+ LM_WARN("Presentity already exists - deleting it\n");
+
delete_presentity(&old_presentity);
pa_dbf.free_result(pa_db, result);
More information about the sr-dev
mailing list