summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index e06019d9..0b257c7c 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -926,6 +926,33 @@ typedef struct pjsua_config
*/
pj_bool_t require_100rel;
+ /**
+ * Specify whether support for Session Timers should be required by
+ * default. Note that this setting can be further customized in account
+ * configuration (#pjsua_acc_config).
+ *
+ * Default: PJ_FALSE
+ */
+ pj_bool_t require_timer;
+
+ /**
+ * Specify session expiration period of Session Timers, in seconds.
+ * Note that this setting can be further customized in account
+ * configuration (#pjsua_acc_config).
+ *
+ * Default: 1800 (seconds)
+ */
+ unsigned timer_se;
+
+ /**
+ * Specify minimum session expiration period of Session Timers,
+ * in seconds. Note that this setting can be further customized in
+ * account configuration (#pjsua_acc_config).
+ *
+ * Default: 90 (seconds)
+ */
+ unsigned timer_min_se;
+
/**
* Number of credentials in the credential array.
*/
@@ -1698,6 +1725,30 @@ typedef struct pjsua_acc_config
pj_bool_t require_100rel;
/**
+ * Specify whether support for Session Timers should be required for all
+ * sessions of this account.
+ *
+ * Default: PJ_FALSE
+ */
+ pj_bool_t require_timer;
+
+ /**
+ * Specify session expiration period of Session Timers, in seconds,
+ * for this account.
+ *
+ * Default: 1800 (seconds)
+ */
+ unsigned timer_se;
+
+ /**
+ * Specify minimum session expiration period of Session Timers,
+ * in seconds, for this account.
+ *
+ * Default: 90 (seconds)
+ */
+ unsigned timer_min_se;
+
+ /**
* Number of proxies in the proxy array below.
*/
unsigned proxy_cnt;