summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsip/sip_config.h')
-rw-r--r--pjsip/include/pjsip/sip_config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h
index 27575c8c..f787dc3d 100644
--- a/pjsip/include/pjsip/sip_config.h
+++ b/pjsip/include/pjsip/sip_config.h
@@ -145,6 +145,18 @@ typedef struct pjsip_cfg_t
*/
pj_bool_t resolve_hostname_to_get_interface;
+ /**
+ * Disable security check on incoming messages in a secure dialog.
+ * A secure dialog is created when the request that creates the dialog
+ * uses "sips" scheme in its request URI. Contact URI should use "sips"
+ * scheme and the top-most Record-Route URI, if any, should use either
+ * "sips" scheme or "transport=tls" param. See also
+ * https://trac.pjsip.org/repos/ticket/1735.
+ *
+ * Default is PJ_FALSE.
+ */
+ pj_bool_t disable_secure_dlg_check;
+
} endpt;
/** Transaction layer settings. */