Re #1569: Fixed missing default value setting for pjsip_cfg()->allow_tx_hash_in_uri.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4285 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h
index 3527d53..5d0464f 100644
--- a/pjsip/include/pjsip/sip_config.h
+++ b/pjsip/include/pjsip/sip_config.h
@@ -73,7 +73,9 @@
 	/**
 	 * Specify port number should be allowed to appear in To and From
 	 * header. Note that RFC 3261 disallow this, see Table 1 in section
-	 * 19.1.1 of the RFC. Default is PJSIP_ALLOW_PORT_IN_FROMTO_HDR.
+	 * 19.1.1 of the RFC.
+	 *
+	 * Default is PJSIP_ALLOW_PORT_IN_FROMTO_HDR.
 	 */
 	pj_bool_t allow_port_in_fromto_hdr;
 
@@ -88,18 +90,24 @@
 
 	/**
 	 * Allow hash character ('#') to appear in outgoing URIs. See
-	 * https://trac.pjsip.org/repos/ticket/1569
+	 * https://trac.pjsip.org/repos/ticket/1569.
+	 *
+	 * Default is PJ_FALSE.
 	 */
 	pj_bool_t allow_tx_hash_in_uri;
 
 	/**
 	 * Disable rport in request.
+	 *
+	 * Default is PJ_FALSE.
 	 */
 	pj_bool_t disable_rport;
 
 	/**
 	 * Disable automatic switching from UDP to TCP if outgoing request
-	 * is greater than 1300 bytes. See PJSIP_DONT_SWITCH_TO_TCP.
+	 * is greater than 1300 bytes.
+	 *
+	 * Default is PJSIP_DONT_SWITCH_TO_TCP.
 	 */
 	pj_bool_t disable_tcp_switch;
 
diff --git a/pjsip/src/pjsip/sip_config.c b/pjsip/src/pjsip/sip_config.c
index e64e49d..1fa3b6b 100644
--- a/pjsip/src/pjsip/sip_config.c
+++ b/pjsip/src/pjsip/sip_config.c
@@ -28,6 +28,7 @@
        PJSIP_ALLOW_PORT_IN_FROMTO_HDR,
        PJSIP_ACCEPT_REPLACE_IN_EARLY_STATE,
        0,
+       0,
        PJSIP_DONT_SWITCH_TO_TCP
     },