Module: kamailio
Branch: 6.0
Commit: 94882113464866cb16166a7e648b3ae938917c65
URL: 
https://github.com/kamailio/kamailio/commit/94882113464866cb16166a7e648b3ae938917c65

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-11-27T17:37:24+01:00

auth: use AUTH_FLAG_NOINVNC flag

(cherry picked from commit 9dc160d1d2bdf0542d3d9d8ae090bb1352520a1c)

---

Modified: src/modules/auth/auth_mod.c

---

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

---

diff --git a/src/modules/auth/auth_mod.c b/src/modules/auth/auth_mod.c
index 57b393c36be..31bebc852f4 100644
--- a/src/modules/auth/auth_mod.c
+++ b/src/modules/auth/auth_mod.c
@@ -573,7 +573,7 @@ int pv_authenticate(struct sip_msg *msg, str *realm, str 
*passwd, int flags,
        ret = AUTH_ERROR;
 
 #ifdef USE_NC
-       if(nc_enabled && (flags & 32))
+       if(nc_enabled && (flags & AUTH_FLAG_NOINVNC))
                check_auth_hdr = auth_check_hdr_md5_noupdate;
 #endif
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to