diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2014-08-21 05:58:36 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2014-08-21 05:58:36 +0000 |
commit | 8268b9a6d418d725327188e058b65e4aa9e2c427 (patch) | |
tree | 10af37e40d33f86c6e4c5049001df3fe23dae3a9 /pjsip/include | |
parent | 92ea0b65a3946ce3e8b3f7abab7b284bf112a1e1 (diff) |
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
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 12 |
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. */ |