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.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 870ea8d5..4422b0ea 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -960,6 +960,15 @@ typedef struct pjsua_config
*/
pj_str_t stun_relay_host;
+ /**
+ * Specify whether support for reliable provisional response (100rel and
+ * PRACK) 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_100rel;
+
/**
* Number of credentials in the credential array.
*/
@@ -1783,6 +1792,14 @@ typedef struct pjsua_acc_config
pj_str_t force_contact;
/**
+ * Specify whether support for reliable provisional response (100rel and
+ * PRACK) should be required for all sessions of this account.
+ *
+ * Default: PJ_FALSE
+ */
+ pj_bool_t require_100rel;
+
+ /**
* Number of proxies in the proxy array below.
*
* \par Python: