From eea3d23ebe28284d50245a042279e26ed31d911e Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 13 Aug 2012 06:32:55 +0000 Subject: 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 --- pjsip/include/pjsip/sip_config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pjsip/include') 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 -- cgit v1.2.3