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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-11-26T20:43:25+01:00

auth: use AUTH_FLAG_NOINVNC flag

---

Modified: src/modules/auth/auth_mod.c

---

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

---

diff --git a/src/modules/auth/auth_mod.c b/src/modules/auth/auth_mod.c
index f47f565fc86..58496ce05ed 100644
--- a/src/modules/auth/auth_mod.c
+++ b/src/modules/auth/auth_mod.c
@@ -598,7 +598,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