From 8268b9a6d418d725327188e058b65e4aa9e2c427 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 21 Aug 2014 05:58:36 +0000 Subject: Close #1735: Implemented secure dialog check of "sips" scheme in Contact/Record-Route header in incoming INVITE/UPDATE requests & responses. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4899 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsip/sip_config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pjsip/include') 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. */ -- cgit v1.2.3