فهرست منبع

dispatcher(k): force_dst set default to 1

- readme updated
Daniel-Constantin Mierla 14 سال پیش
والد
کامیت
9a5bc6b155
3فایلهای تغییر یافته به همراه9 افزوده شده و 7 حذف شده
  1. 4 3
      modules_k/dispatcher/README
  2. 1 1
      modules_k/dispatcher/dispatcher.c
  3. 4 3
      modules_k/dispatcher/doc/dispatcher_admin.xml

+ 4 - 3
modules_k/dispatcher/README

@@ -336,10 +336,11 @@ modparam("dispatcher", "priority_col", "dstpriority")
 
 3.8. force_dst (int)
 
-   If set to 1, force overwriting of destination address when that is
-   already set.
+   If set to 1, force overwriting of destination address (outbound proxy)
+   when that is already set. If set to 0, will return error when the
+   destination address is already set.
 
-   Default value is “0”.
+   Default value is “1”.
 
    Example 1.8. Set the “force_dst” parameter
 ...

+ 1 - 1
modules_k/dispatcher/dispatcher.c

@@ -79,7 +79,7 @@ MODULE_VERSION
 
 /** parameters */
 char *dslistfile = CFG_DIR"dispatcher.list";
-int  ds_force_dst   = 0;
+int  ds_force_dst   = 1;
 int  ds_flags       = 0; 
 int  ds_use_default = 0; 
 static str dst_avp_param = {NULL, 0};

+ 4 - 3
modules_k/dispatcher/doc/dispatcher_admin.xml

@@ -223,12 +223,13 @@ modparam("dispatcher", "priority_col", "dstpriority")
 	<section>
 		<title><varname>force_dst</varname> (int)</title>
 		<para>
-		If set to 1, force overwriting of destination address when that is
-		already set.
+		If set to 1, force overwriting of destination address (outbound proxy)
+		when that is already set. If set to 0, will return error when the
+		destination address is already set.
 		</para>
 		<para>
 		<emphasis>
-			Default value is <quote>0</quote>.
+			Default value is <quote>1</quote>.
 		</emphasis>
 		</para>
 		<example>