[sr-dev] git:5.3:d23bbb59: uac: do not silently fail on realm lookup error, at least log with INFO

Henning Westerholt hw at skalatan.de
Wed Oct 28 20:18:00 CET 2020


Module: kamailio
Branch: 5.3
Commit: d23bbb5917fcd7ca51990e7dfe31dcf55d674247
URL: https://github.com/kamailio/kamailio/commit/d23bbb5917fcd7ca51990e7dfe31dcf55d674247

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-10-28T19:13:12Z

uac: do not silently fail on realm lookup error, at least log with INFO

(cherry picked from commit b6c10c8181d670a81a7d1216c7e6ec81c0963e9c)

---

Modified: src/modules/uac/auth.c

---

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

---

diff --git a/src/modules/uac/auth.c b/src/modules/uac/auth.c
index a412dae975..f68c1cafc9 100644
--- a/src/modules/uac/auth.c
+++ b/src/modules/uac/auth.c
@@ -446,7 +446,7 @@ int uac_auth(sip_msg_t *msg)
 	/* found? */
 	if (crd==0)
 	{
-		LM_DBG("no credential for realm \"%.*s\"\n",
+		LM_INFO("no credential for realm \"%.*s\"\n",
 			auth.realm.len, auth.realm.s);
 		goto error;
 	}




More information about the sr-dev mailing list