summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_errno.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-09-14 16:03:42 +0000
committerBenny Prijono <bennylp@teluu.com>2006-09-14 16:03:42 +0000
commit8aacc5197b7cd8e3f9acc1b518a549953b4371fe (patch)
tree7873fdf158cf06c4955e30be14057198deccccb1 /pjsip/include/pjsip/sip_errno.h
parent6e33515a6b24815b0dbac759ece4e178498fd035 (diff)
Updated the doxygen comments for PJSIP_EFAILEDCREDENTIAL and PJSIP_ENOCREDENTIAL, since these are queried often.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@718 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/sip_errno.h')
-rw-r--r--pjsip/include/pjsip/sip_errno.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/sip_errno.h b/pjsip/include/pjsip/sip_errno.h
index 83557cb7..92ca57b6 100644
--- a/pjsip/include/pjsip/sip_errno.h
+++ b/pjsip/include/pjsip/sip_errno.h
@@ -301,12 +301,19 @@ PJ_BEGIN_DECL
***********************************************************/
/**
* @hideinitializer
- * Credential failed to authenticate.
+ * Credential failed to authenticate. For this failure, right credential
+ * for the realm has been found and used to authenticate against the challenge,
+ * but the server has rejected the authorization request with 401/407 response
+ * (either with no stale parameter or with "stale=false" parameter). In most
+ * cases, this indicates that the username/password combination is incorrect.
*/
#define PJSIP_EFAILEDCREDENTIAL (PJSIP_ERRNO_START_PJSIP + 100) /* 171100 */
/**
* @hideinitializer
- * No suitable credential.
+ * No suitable credential is found to authenticate the request against
+ * the received authentication challenge in 401/407 response. This often
+ * is caused by different realm supplied in the credential than the realm
+ * found in the challenge.
*/
#define PJSIP_ENOCREDENTIAL (PJSIP_ERRNO_START_PJSIP + 101) /* 171101 */
/**