diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-08-13 06:32:55 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-08-13 06:32:55 +0000 |
commit | eea3d23ebe28284d50245a042279e26ed31d911e (patch) | |
tree | 37aa8baa4bf88a084b0a1ad0c02df465dcc74446 /pjsip/include | |
parent | c922e8d8f2dc448791cabaf08eca3facddbd1881 (diff) |
More re #1412: set default value of PJSIP_CHECK_VIA_SENT_BY to 0, because now account may send requests with different Via sent-by
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4227 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h index ea19102e..2c94bbf8 100644 --- a/pjsip/include/pjsip/sip_config.h +++ b/pjsip/include/pjsip/sip_config.h @@ -362,9 +362,13 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) * response is received, the response will be discarded since its Via * sent-by now contains address that is different than the transport * address. + * + * Update: + * As of version 2.1, the default value is 0. This change was part of + * https://trac.pjsip.org/repos/ticket/1412 */ #ifndef PJSIP_CHECK_VIA_SENT_BY -# define PJSIP_CHECK_VIA_SENT_BY 1 +# define PJSIP_CHECK_VIA_SENT_BY 0 #endif |