diff options
Diffstat (limited to 'pjsip/include/pjsip-ua/sip_regc.h')
-rw-r--r-- | pjsip/include/pjsip-ua/sip_regc.h | 14 |
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. |