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

Henning Westerholt hw at skalatan.de
Wed Oct 28 20:13:03 CET 2020


Module: kamailio
Branch: 5.4
Commit: 035e22e9d75949d066129b4056271ff772653500
URL: https://github.com/kamailio/kamailio/commit/035e22e9d75949d066129b4056271ff772653500

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

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/035e22e9d75949d066129b4056271ff772653500.diff
Patch: https://github.com/kamailio/kamailio/commit/035e22e9d75949d066129b4056271ff772653500.patch

---

diff --git a/src/modules/uac/auth.c b/src/modules/uac/auth.c
index 5359300e59..22e096f647 100644
--- a/src/modules/uac/auth.c
+++ b/src/modules/uac/auth.c
@@ -447,7 +447,7 @@ int uac_auth_mode(sip_msg_t *msg, int mode)
 	/* 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