summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip-ua
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-03-15 03:20:37 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-03-15 03:20:37 +0000
commitab69db8c96ae19269067fd98e5ff1a046d78a2de (patch)
tree3849b7cf4c1f21625f0378ccd0d0c048000f256a /pjsip/include/pjsip-ua
parent477ebed76f7657565ef181da813ea2f7b409d24b (diff)
Fixed #1205: Configurable delay before registration refresh setting in pjsua_acc_config
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3441 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip-ua')
-rw-r--r--pjsip/include/pjsip-ua/sip_regc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/pjsip/include/pjsip-ua/sip_regc.h b/pjsip/include/pjsip-ua/sip_regc.h
index a003641a..e448cf6c 100644
--- a/pjsip/include/pjsip-ua/sip_regc.h
+++ b/pjsip/include/pjsip-ua/sip_regc.h
@@ -190,6 +190,20 @@ PJ_DECL(pj_status_t) pjsip_regc_init(pjsip_regc *regc,
const pj_str_t contact[],
pj_uint32_t expires);
+/**
+ * Set the number of seconds to refresh the client registration before
+ * the registration expires.
+ *
+ * @param regc The registration structure.
+ * @param delay The number of seconds to refresh the client
+ * registration before the registration expires.
+ *
+ * @return PJ_SUCCESS on success.
+ */
+PJ_DECL(pj_status_t)
+pjsip_regc_set_delay_before_refresh( pjsip_regc *regc,
+ pj_uint32_t delay );
+
/**
* Set authentication credentials to use by this registration.