diff options
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 1ca2ad21..2ffea4cc 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -1003,6 +1003,14 @@ PJ_DECL(pj_status_t) pjsua_transport_close( pjsua_transport_id id, /** + * Default PUBLISH expiration + */ +#ifndef PJSUA_PUBLISH_EXPIRATION +# define PJSUA_PUBLISH_EXPIRATION 600 +#endif + + +/** * Account configuration. */ typedef struct pjsua_acc_config @@ -1024,6 +1032,11 @@ typedef struct pjsua_acc_config */ pj_str_t reg_uri; + /** + * Publish presence? + */ + pj_bool_t publish_enabled; + /** * Optional URI to be put as Contact for this account. It is recommended * that this field is left empty, so that the value will be calculated |