summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2010-09-07 05:10:25 +0000
committerLiong Sauw Ming <ming@teluu.com>2010-09-07 05:10:25 +0000
commit72549c62dbda8bcdc5afab24c468f701728fb3d7 (patch)
tree2c7e7d181b19cffc67e426d759328e6d8446e4d6 /pjsip/include
parent061b74f3c8012fc45586e18a5f0edc33e7959f3b (diff)
Fixed #1118: Add last error code to PJSUA-LIB account info structure
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3303 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 7c770e05..7510a4fc 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -2341,6 +2341,14 @@ typedef struct pjsua_acc_info
pjsip_status_code status;
/**
+ * Last registration error code. When the status field contains a SIP
+ * status code that indicates a registration failure, last registration
+ * error code contains the error code that causes the failure. In any
+ * other case, its value is zero.
+ */
+ pj_status_t reg_last_err;
+
+ /**
* String describing the registration status.
*/
pj_str_t status_text;