summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsua-lib')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h8
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 8723c2bc..8bf935aa 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -2615,6 +2615,14 @@ typedef struct pjsua_acc_config
pj_bool_t mwi_enabled;
/**
+ * Specify the default expiration time for Message Waiting Indication
+ * (RFC 3842) event subscription. This must not be zero.
+ *
+ * Default: PJSIP_MWI_DEFAULT_EXPIRES
+ */
+ unsigned mwi_expires;
+
+ /**
* If this flag is set, the presence information of this account will
* be PUBLISH-ed to the server where the account belongs.
*
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index 4b2dc947..911cad10 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -670,7 +670,7 @@ pj_status_t pjsua_im_init(void);
/**
* Start MWI subscription
*/
-void pjsua_start_mwi(pjsua_acc *acc);
+pj_status_t pjsua_start_mwi(pjsua_acc_id acc_id, pj_bool_t force_renew);
/**
* Init call subsystem.