summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjsip/include/pjsip/sip_config.h6
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