[sr-dev] git:master:f42b6c5c: presence: info logs instead of error for not maching conditions

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 13 08:31:52 CET 2021


Module: kamailio
Branch: master
Commit: f42b6c5cf2ee9861cb1eed016a5ddcc499d2b854
URL: https://github.com/kamailio/kamailio/commit/f42b6c5cf2ee9861cb1eed016a5ddcc499d2b854

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-12-13T08:31:07+01:00

presence: info logs instead of error for not maching conditions

---

Modified: src/modules/presence/presentity.c

---

Diff:  https://github.com/kamailio/kamailio/commit/f42b6c5cf2ee9861cb1eed016a5ddcc499d2b854.diff
Patch: https://github.com/kamailio/kamailio/commit/f42b6c5cf2ee9861cb1eed016a5ddcc499d2b854.patch

---

diff --git a/src/modules/presence/presentity.c b/src/modules/presence/presentity.c
index a7629a4e92..0ba00f0197 100644
--- a/src/modules/presence/presentity.c
+++ b/src/modules/presence/presentity.c
@@ -1369,10 +1369,10 @@ static int ps_db_update_presentity(sip_msg_t *msg, presentity_t *presentity,
 send_412:
 
 	if(!ruid) {
-		LM_ERR("No E_Tag match %*s\n", presentity->etag.len,
+		LM_INFO("No E-Tag match %*s\n", presentity->etag.len,
 				presentity->etag.s);
 	} else {
-		LM_ERR("No ruid match %*s\n", ruid->len, ruid->s);
+		LM_INFO("No ruid match %*s\n", ruid->len, ruid->s);
 	}
 
 	if(msg != NULL) {




More information about the sr-dev mailing list