Module: kamailio Branch: master Commit: 9425c8d582c0ed0e133dc64f64345d9e3e7e059a URL: https://github.com/kamailio/kamailio/commit/9425c8d582c0ed0e133dc64f64345d9e...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2017-09-26T10:16:47+02:00
modules: readme files regenerated - auth ... [skip ci]
---
Modified: src/modules/auth/README
---
Diff: https://github.com/kamailio/kamailio/commit/9425c8d582c0ed0e133dc64f64345d9e... Patch: https://github.com/kamailio/kamailio/commit/9425c8d582c0ed0e133dc64f64345d9e...
---
diff --git a/src/modules/auth/README b/src/modules/auth/README index 51ba685b48..a5f879a0a4 100644 --- a/src/modules/auth/README +++ b/src/modules/auth/README @@ -721,8 +721,8 @@ if (has_credentials("myrealm")) { The function challenges a user agent. It will generate a WWW-Authorize header field containing a digest challenge, it will put the header field into a response generated from the request the server is - processing and send the reply. Upon reception of such a reply the user - agent should compute credentials and retry the request. For more + processing and send the 401 reply. Upon reception of such a reply the + user agent should compute credentials and retry the request. For more information regarding digest authentication see RFC2617. See module parameter force_stateless_reply regarding sending of the reply.
@@ -758,10 +758,10 @@ if (!www_authenticate("$td", "subscriber")) { The function challenges a user agent. It will generate a Proxy-Authorize header field containing a digest challenge, it will put the header field into a response generated from the request the server - is processing and send the reply. Upon reception of such a reply the - user agent should compute credentials and retry the request. For more - information regarding digest authentication see RFC2617. See module - parameter force_stateless_reply regarding sending of the reply. + is processing and send the 407 reply. Upon reception of such a reply + the user agent should compute credentials and retry the request. For + more information regarding digest authentication see RFC2617. See + module parameter force_stateless_reply regarding sending of the reply.
Meaning of the parameters is the same as for function www_challenge(realm, flags) @@ -780,7 +780,9 @@ if (!proxy_authenticate("$fd", "subscriber")) { The function challenges a user agent for authentication. It combines the functions www_challenge() and proxy_challenge(), by calling internally the first one for REGISTER requests and the second one for - the rest of other request types. + the rest of other request types. In other words, it challenges for + authentication by sending a 401 reply for REGISTER requests and 407 + reply for the other types of SIP requests.
Meaning of the parameters the same as for function www_challenge(realm, flags)